getting tired....

This commit is contained in:
naomiaro 2011-02-05 23:50:43 -05:00
parent 76b2f6e80b
commit 14c71a3f39
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class Show {
FROM cc_show_instances
LEFT JOIN cc_show ON cc_show.id = cc_show_instances.show_id
WHERE ((starts >= '{$start_timestamp}' AND starts < '{$end_timestamp}')
OR (ends > '{$start_timestamp}' AND ends <= '{$end_timestamp}'));
OR (ends > '{$start_timestamp}' AND ends <= '{$end_timestamp}'))";
if(isset($excludeInstance)) {
foreach($excludeInstance as $instance) {
@ -131,7 +131,7 @@ class Show {
$sql = $sql." AND ({$exclude})";
}
echo $sql;
//echo $sql;
return $CC_DBC->GetAll($sql);
}