CC-5838: Editing a repeating show yields in error if an instance is in the past

Was not checking if show is repeating properly
This commit is contained in:
drigato 2014-05-06 13:01:20 -04:00
parent 2be889f2af
commit eafbd7d5e9
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ class Application_Service_ShowFormService
//if the show is repeating, set the start date to the next
//repeating instance in the future
if ($currentShowDay->isRepeating()) {
if ($this->ccShow->isRepeating()) {
list($originalShowStartDateTime,) = $this->getNextFutureRepeatShowTime();
} else {
$originalShowStartDateTime = $dt;