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:
parent
2be889f2af
commit
eafbd7d5e9
|
@ -393,7 +393,7 @@ class Application_Service_ShowFormService
|
||||||
|
|
||||||
//if the show is repeating, set the start date to the next
|
//if the show is repeating, set the start date to the next
|
||||||
//repeating instance in the future
|
//repeating instance in the future
|
||||||
if ($currentShowDay->isRepeating()) {
|
if ($this->ccShow->isRepeating()) {
|
||||||
list($originalShowStartDateTime,) = $this->getNextFutureRepeatShowTime();
|
list($originalShowStartDateTime,) = $this->getNextFutureRepeatShowTime();
|
||||||
} else {
|
} else {
|
||||||
$originalShowStartDateTime = $dt;
|
$originalShowStartDateTime = $dt;
|
||||||
|
|
Loading…
Reference in New Issue