]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/holiday_functions.php
Possible further fix for #128
[mailer.git] / inc / libs / holiday_functions.php
index 58dba68cb614096cf76c6b7b0ac012b3c2eb62d0..4e82a02ce4535f24dbc9fafc87b7fc02e0d0d171 100644 (file)
@@ -59,7 +59,7 @@ ORDER BY `userid` ASC", __FUNCTION__, __LINE__);
                while ($content = SQL_FETCHARRAY($result_stop)) {
                        // Stop holiday
                        ADD_SQL(SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_user_holidays` WHERE userid=%s LIMIT 1",
-                               array(bigintval($content['userid'])), __FUNCTION__, __LINE__, false));
+                       array(bigintval($content['userid'])), __FUNCTION__, __LINE__, false));
 
                        // Unlock account
                        ADD_SQL(SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data`
@@ -69,8 +69,8 @@ LIMIT 1", array(bigintval($content['userid'])), __FUNCTION__, __LINE__, false));
 
                        // 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']
                        );