-empty shows should now show up on the now-playing view

This commit is contained in:
martin 2011-03-07 14:49:16 -05:00
parent f4f35cd813
commit 9cfb968011
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ class Show_DAL{
." WHERE ((si.starts < TIMESTAMP '$timeNow' - INTERVAL '$start seconds' AND si.ends > TIMESTAMP '$timeNow' - INTERVAL '$start seconds')"
." OR (si.starts > TIMESTAMP '$timeNow' - INTERVAL '$start seconds' AND si.ends < TIMESTAMP '$timeNow' + INTERVAL '$end seconds')"
." OR (si.starts < TIMESTAMP '$timeNow' + INTERVAL '$end seconds' AND si.ends > TIMESTAMP '$timeNow' + INTERVAL '$end seconds'))"
." AND (st.starts < si.ends)"
." AND (st.starts < si.ends OR st.starts IS NULL)"
." ORDER BY st.starts";
return $CC_DBC->GetAll($sql);