CC-3444: Ability to edit currently playing show (end time and permissions)

- added comment
This commit is contained in:
James 2012-04-16 17:06:06 -04:00
parent d11fca8ac8
commit 2f4861db26
1 changed files with 2 additions and 0 deletions

View File

@ -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{