From cdf92b016f261c81b2f0efba1898184ff117b2f5 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Tue, 17 Apr 2012 12:23:56 -0400 Subject: [PATCH] CC-3655: Context menu for current show missing add/remove content and remove all content options. -undone --- airtime_mvc/application/controllers/ScheduleController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/airtime_mvc/application/controllers/ScheduleController.php b/airtime_mvc/application/controllers/ScheduleController.php index 58938f654..71f242be6 100644 --- a/airtime_mvc/application/controllers/ScheduleController.php +++ b/airtime_mvc/application/controllers/ScheduleController.php @@ -227,8 +227,7 @@ class ScheduleController extends Zend_Controller_Action $showStartLocalDT = Application_Common_DateHelper::ConvertToLocalDateTime($instance->getShowInstanceStart()); $showEndLocalDT = Application_Common_DateHelper::ConvertToLocalDateTime($instance->getShowInstanceEnd()); - if ($epochNow < $showEndLocalDT->getTimestamp()) { - + if ($epochNow < $showStartLocalDT->getTimestamp()) { if ( ($isAdminOrPM || $isDJ) && !$instance->isRecorded() && !$instance->isRebroadcast()) { @@ -239,7 +238,6 @@ class ScheduleController extends Zend_Controller_Action $menu["clear"] = array("name"=> "Remove All Content", "icon" => "remove-all-content", "url" => "/schedule/clear-show"); } - } if (!$instance->isRecorded()) {