Merge branch '2.1.x' into devel
This commit is contained in:
commit
f33485f8ea
5 changed files with 99 additions and 10 deletions
|
@ -1646,6 +1646,15 @@ class Application_Model_Show
|
|||
} elseif ($p_editable && $nowEpoch < $endsEpoch) {
|
||||
$options["editable"] = true;
|
||||
}
|
||||
|
||||
$showInstance = new Application_Model_ShowInstance($show["instance_id"]);
|
||||
$showContent = $showInstance->getShowListContent();
|
||||
if (empty($showContent)) {
|
||||
$options["show_empty"] = 1;
|
||||
} else {
|
||||
$options["show_empty"] = 0;
|
||||
}
|
||||
|
||||
$events[] = &self::makeFullCalendarEvent($show, $options, $startsDT, $endsDT, $startsEpochStr, $endsEpochStr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue