From f82cb364c1c9d3a641b9011fb2ab9f0a31722b8c Mon Sep 17 00:00:00 2001 From: drigato Date: Thu, 20 Jun 2013 15:21:33 -0400 Subject: [PATCH] CC-5246: Calendar: ON AIR show has an incorrect context menu --- airtime_mvc/application/services/CalendarService.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/services/CalendarService.php b/airtime_mvc/application/services/CalendarService.php index b0a98174f..d0091d589 100644 --- a/airtime_mvc/application/services/CalendarService.php +++ b/airtime_mvc/application/services/CalendarService.php @@ -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 } } -} \ No newline at end of file +}