X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fautopurge%2Fpurge-unconfirmed.php;h=e6276a98ce45b01d22bdb21a140312622d31029e;hb=995488beda665a1fc3de65df95f2d1ae236d1245;hp=31d825d5d0cccaa60604abe28d8544f4b19969fa;hpb=62b4ef5bb0b63f7cac5f0dccd816246a108a5d83;p=mailer.git diff --git a/inc/autopurge/purge-unconfirmed.php b/inc/autopurge/purge-unconfirmed.php index 31d825d5d0..e6276a98ce 100644 --- a/inc/autopurge/purge-unconfirmed.php +++ b/inc/autopurge/purge-unconfirmed.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -64,7 +65,10 @@ ORDER BY $content['time'] = (getConfig('ap_unconfirmed_time') / 60 / 60); // Delete inactive accounts - while ($content = SQL_FETCHARRAY($result_uncon)) { + while ($row = SQL_FETCHARRAY($result_uncon)) { + // Merge both arrays + $content = merge_array($content, $row); + // Remember userids for the admin $userids .= $content['userid'] . ', '; @@ -80,7 +84,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