$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'] . ', ';
// 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