users can open the current show to schedule and also rebroadcast shows.

This commit is contained in:
Naomi 2013-05-31 11:42:35 -04:00 committed by denise
parent f28ab12281
commit 99cc75ef51
1 changed files with 4 additions and 4 deletions

View File

@ -75,11 +75,11 @@ class Application_Service_CalendarService
}
} else {
//Show content can be modified from the calendar if:
// the show has not started,
// the show has not ended,
// the user is admin or hosting the show,
// the show is not recorded or rebroadcasted
if ($now < $start && ($isAdminOrPM || $isHostOfShow) &&
!$this->ccShowInstance->isRecorded() && !$this->ccShowInstance->isRebroadcast()) {
// the show is not recorded
if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
!$this->ccShowInstance->isRecorded() ) {
$menu["schedule"] = array(
"name"=> _("Add / Remove Content"),