`holiday_start` <= UNIX_TIMESTAMP() AND
`holiday_end` > UNIX_TIMESTAMP()
LIMIT 1",
- array(bigintval($content['userid'])), __FILE__, __LINE__);
+ array(bigintval($content['userid'])), __FILE__, __LINE__);
+
+ // Do we have an entry?
if (SQL_NUMROWS($result_holiday) == 1) {
// Okay, this user can be send away to holiday...
$content = merge_array($content, SQL_FETCHARRAY($result_holiday));