CC-5869: Changing a repeating show to non-repeating and changing start time does not work
This commit is contained in:
parent
e4bb97bcc4
commit
ee489b39f9
1 changed files with 9 additions and 1 deletions
|
@ -289,7 +289,15 @@ class Application_Service_ShowService
|
||||||
if ($this->ccShow->isRepeating()) {
|
if ($this->ccShow->isRepeating()) {
|
||||||
$ccShowDays = $this->ccShow->getRepeatingCcShowDays();
|
$ccShowDays = $this->ccShow->getRepeatingCcShowDays();
|
||||||
} else {
|
} else {
|
||||||
$ccShowDays = $this->ccShow->getCcShowDayss();
|
//$ccShowDays = $this->ccShow->getCcShowDayss();
|
||||||
|
|
||||||
|
/* Cannot use the above statement to get the cc_show_days
|
||||||
|
* object because it's getting the old object before the
|
||||||
|
* show was edited. clearInstancePool() didn't work.
|
||||||
|
*/
|
||||||
|
$ccShowDays = CcShowDaysQuery::create()
|
||||||
|
->filterByDbShowId($this->ccShow->getDbId())
|
||||||
|
->find();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue