// Process all found entries
while ($content = SQL_FETCHARRAY($result_stop)) {
- // Stop2 holiday
+ // Stop holiday
addSql(SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_holidays` WHERE `userid`=%s LIMIT 1",
array(bigintval($content['userid'])), __FUNCTION__, __LINE__, false));
} // END - if
// Send mail to admins
- sendAdminNotification(getMessage('HOLIDAY_ADMIN_UNLOCK_SUBJ'), 'admin_holiday_unlock', $admin, 0);
+ sendAdminNotification(getMessage('HOLIDAY_ADMIN_UNLOCK_SUBJ'), 'admin_holiday_unlock', $admin);
// Run all SQLs
runFilterChain('run_sqls');