-fixed UI freeze on some very special occasions

-fixed some php errors related to php shipped with debian
-playlist.js no longer active on login page
This commit is contained in:
martin 2011-02-13 13:29:16 -05:00
parent b9e1078e10
commit a5fd68c252
6 changed files with 32 additions and 31 deletions

View file

@ -749,7 +749,7 @@ class Show_DAL{
$sql = "SELECT *, si.starts as start_timestamp, si.ends as end_timestamp FROM "
." $CC_CONFIG[showInstances] si, $CC_CONFIG[showTable] s"
." WHERE si.show_id = s.id"
." AND si.starts > TIMESTAMP '$timeNow'"
." AND si.starts >= TIMESTAMP '$timeNow'"
." AND si.starts < TIMESTAMP '$timeNow' + INTERVAL '48 hours'"
." ORDER BY si.starts"
." LIMIT 1";