CC-5246: Calendar: ON AIR show has an incorrect context menu

This commit is contained in:
drigato 2013-06-20 15:21:33 -04:00
parent 39d108ffb3
commit f82cb364c1
1 changed files with 3 additions and 3 deletions

View File

@ -75,10 +75,10 @@ class Application_Service_CalendarService
}
} else {
//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 show is not recorded
if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
if ($now < $start && ($isAdminOrPM || $isHostOfShow) &&
!$this->ccShowInstance->isRecorded() ) {
$menu["schedule"] = array(
@ -328,4 +328,4 @@ class Application_Service_CalendarService
}
}
}
}