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`
// 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']
);