CC-5487 : Calendar won't load under certain situation with linked shows
This commit is contained in:
parent
c9549c6a1d
commit
050d984882
|
@ -173,6 +173,10 @@ class Application_Service_SchedulerService
|
|||
* any other instances with content
|
||||
*/
|
||||
$instanceIds = $ccShow->getInstanceIds();
|
||||
if (count($instanceIds) == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
$schedule_sql = "SELECT * FROM cc_schedule ".
|
||||
"WHERE instance_id IN (".implode($instanceIds, ",").")";
|
||||
$ccSchedules = Application_Common_Database::prepareAndExecute(
|
||||
|
@ -427,4 +431,4 @@ class Application_Service_SchedulerService
|
|||
|
||||
return $redraw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue