deep voodoo magic to optimize schedule

This commit is contained in:
Rudi Grinberg 2012-10-19 11:32:35 -04:00
parent 58d00cb9b9
commit 8d56c03fe3
2 changed files with 24 additions and 2 deletions

View file

@ -1789,9 +1789,9 @@ SQL;
$showInstance = new Application_Model_ShowInstance(
$show["instance_id"]);
$showContent = $showInstance->getShowListContent();
//$showContent = $showInstance->getShowListContent();
$options["show_empty"] = empty($showContent) ? 1 : 0;
$options["show_empty"] = ($showInstance->showEmpty()) ? 1 : 0;
$events[] = &self::makeFullCalendarEvent($show, $options,
$startsDT, $endsDT, $startsEpochStr, $endsEpochStr);