]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/holiday_functions.php
isAdmin() uses now for 'caching' its result
[mailer.git] / inc / libs / holiday_functions.php
index 2ddd8df6870217a9aa2e3eccc0263c663e0c11f5..a14fa0d6e3a012635a13d8b67c3cb0c07aeddea5 100644 (file)
@@ -76,8 +76,8 @@ LIMIT 1",
 
                        // Prepare array
                        $content = array(
-                               'holiday_end'      => 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']
                        );
 
@@ -90,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, 0);
 
                // Run all SQLs
                runFilterChain('run_sqls');