CC-3696: more rebroadcast show instances will be created after change the calendar
-fixed
This commit is contained in:
parent
18caafac48
commit
3bc919affb
|
@ -856,8 +856,8 @@ class Application_Model_Show {
|
||||||
." WHERE date(starts) = date(TIMESTAMP '$timestamp') "
|
." WHERE date(starts) = date(TIMESTAMP '$timestamp') "
|
||||||
." AND show_id = $showId";
|
." AND show_id = $showId";
|
||||||
|
|
||||||
$query = $con->query();
|
$query = $con->query($sql);
|
||||||
$row = $query ? $query->fetchColumn(0) : null;
|
$row = ($query !== false) ? $query->fetchColumn(0) : null;
|
||||||
return CcShowInstancesQuery::create()
|
return CcShowInstancesQuery::create()
|
||||||
->findPk($row);
|
->findPk($row);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue