CC-5246: Calendar: ON AIR show has an incorrect context menu
This commit is contained in:
parent
39d108ffb3
commit
f82cb364c1
|
@ -75,10 +75,10 @@ class Application_Service_CalendarService
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//Show content can be modified from the calendar if:
|
//Show content can be modified from the calendar if:
|
||||||
// the show has not ended,
|
// the show has not started,
|
||||||
// the user is admin or hosting the show,
|
// the user is admin or hosting the show,
|
||||||
// the show is not recorded
|
// the show is not recorded
|
||||||
if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
|
if ($now < $start && ($isAdminOrPM || $isHostOfShow) &&
|
||||||
!$this->ccShowInstance->isRecorded() ) {
|
!$this->ccShowInstance->isRecorded() ) {
|
||||||
|
|
||||||
$menu["schedule"] = array(
|
$menu["schedule"] = array(
|
||||||
|
|
Loading…
Reference in New Issue