X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fholiday_functions.php;h=90c119fd899c629461e4cafe91d263f294093a9b;hb=9dea40187dc40c8e2b642dccae039c681cbc43f9;hp=e23f772dd42fda387cad593560c43d5627de682f;hpb=f928ad2bed60fa256d0641eaf6d2c027a2944688;p=mailer.git diff --git a/inc/libs/holiday_functions.php b/inc/libs/holiday_functions.php index e23f772dd4..90c119fd89 100644 --- a/inc/libs/holiday_functions.php +++ b/inc/libs/holiday_functions.php @@ -1,7 +1,7 @@ generateDateTime($content['holiday_end'] , '3'), - 'holiday_start' => generateDateTime($content['holiday_start'], '3'), + 'holiday_end' => generateDateTime($content['holiday_end'] , 3), + 'holiday_start' => generateDateTime($content['holiday_start'], 3), 'holiday_comments' => $content['comments'] ); // Send mail to user - $message = LOAD_EMAIL_TEMPLATE('member_holiday_unlock', $content, $content['userid']); + $message = loadEmailTemplate('member_holiday_unlock', $content, $content['userid']); sendEmail($content['userid'], getMessage('HOLIDAY_MEMBER_UNLOCK_SUBJ'), $message); // Remember userid for admin @@ -91,7 +90,7 @@ LIMIT 1", } // 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');