From 2f4861db26c900ab4266882fd9e30d57c51e3d32 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 16 Apr 2012 17:06:06 -0400 Subject: [PATCH] CC-3444: Ability to edit currently playing show (end time and permissions) - added comment --- airtime_mvc/application/controllers/ScheduleController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airtime_mvc/application/controllers/ScheduleController.php b/airtime_mvc/application/controllers/ScheduleController.php index 657fac245..1aa9de8d0 100644 --- a/airtime_mvc/application/controllers/ScheduleController.php +++ b/airtime_mvc/application/controllers/ScheduleController.php @@ -586,6 +586,8 @@ class ScheduleController extends Zend_Controller_Action 'add_show_repeats' => $show->isRepeating() ? 1 : 0)); if ($show->isStartDateTimeInPast()){ + // for a non-repeating show, we should never allow user to change the start time. + // for the repeating show, we should allow because the form works as repeating template form if(!$showInstance->getShow()->isRepeating()){ $formWhen->disableStartDateAndTime(); }else{