Fixes for auto-purge scripts (missing array elements)
[mailer.git] / inc / autopurge / purge-unconfirmed.php
index 31d825d5d0cccaa60604abe28d8544f4b19969fa..faa5b76dfca62e2940d68ac3fa64a2fc0bc42262 100644 (file)
@@ -64,7 +64,7 @@ ORDER BY
                $content['time'] = (getConfig('ap_unconfirmed_time')  / 60 / 60);
 
                // Delete inactive accounts
-               while ($content = SQL_FETCHARRAY($result_uncon)) {
+               while ($content = merge_array($content, SQL_FETCHARRAY($result_uncon))) {
                        // Remember userids for the admin
                        $userids .= $content['userid'] . ', ';