Fixes for auto-purge scripts (missing array elements)
[mailer.git] / inc / autopurge / purge-inact.php
index 652a561e2eeb25704279fcc201844dd6b4618c5c..eb5bc27229a5b91f105c5cf6b11bf25723d01f6f 100644 (file)
@@ -94,7 +94,7 @@ ORDER BY
                $content['time']  = (getConfig('ap_inactive_time')  / 60 / 60);
 
                // Mark found accounts as inactive and send an email
-               while ($content = SQL_FETCHARRAY($result_inactive)) {
+               while ($content = merge_array($content, SQL_FETCHARRAY($result_inactive))) {
                        // Remember userids for the admin
                        $useridsContent .= $content['userid'].", ";