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') "
|
||||
." AND show_id = $showId";
|
||||
|
||||
$query = $con->query();
|
||||
$row = $query ? $query->fetchColumn(0) : null;
|
||||
$query = $con->query($sql);
|
||||
$row = ($query !== false) ? $query->fetchColumn(0) : null;
|
||||
return CcShowInstancesQuery::create()
|
||||
->findPk($row);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue