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
parent 2c35a0416a
commit 12302aa1dc
1 changed files with 4 additions and 4 deletions

View File

@ -75,11 +75,11 @@ 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 started, // the show has not ended,
// the user is admin or hosting the show, // the user is admin or hosting the show,
// the show is not recorded or rebroadcasted // the show is not recorded
if ($now < $start && ($isAdminOrPM || $isHostOfShow) && if ($now < $end && ($isAdminOrPM || $isHostOfShow) &&
!$this->ccShowInstance->isRecorded() && !$this->ccShowInstance->isRebroadcast()) { !$this->ccShowInstance->isRecorded() ) {
$menu["schedule"] = array( $menu["schedule"] = array(
"name"=> _("Add / Remove Content"), "name"=> _("Add / Remove Content"),