Do we still need this query reset?
[mailer.git] / inc / autopurge / purge-mails.php
index f2da3aa6c1e323ab478726ef81e3558fb50be243..f2a7020e48cf4084933921673b5e9d3811678f71 100644 (file)
@@ -115,7 +115,7 @@ if (!SQL_HASZERONUMS($result_mails)) {
 
                        // Reset query (to prevent possible errors) ...
                        $result_mails = SQL_QUERY("SELECT
-       `userid`
+       `userid` AS `sender`
 FROM
        `{?_MYSQL_PREFIX?}_user_stats`
 WHERE