]> git.mxchange.org Git - mailer.git/blobdiff - inc/autopurge/purge-unconfirmed.php
Error renamed to 'bug'
[mailer.git] / inc / autopurge / purge-unconfirmed.php
index 31d825d5d0cccaa60604abe28d8544f4b19969fa..595794599d42fc61a37527f8a49bfcf02835d686 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'] . ', ';
 
@@ -80,7 +80,7 @@ ORDER BY
 
                // Send mail notification to admin
                if (getConfig('ap_un_notify') == 'Y') {
-                       sendAdminNotification(getMessage('AUTOPURGE_ADMIN_UNCONFIRMED_SUBJECT'), 'admin_autopurge_unconfirmed', $userids, '');
+                       sendAdminNotification(getMessage('AUTOPURGE_ADMIN_UNCONFIRMED_SUBJECT'), 'admin_autopurge_unconfirmed', $userids);
                } // END - if
        } // END - if