CC-5869: Changing a repeating show to non-repeating and changing start time does not work

This commit is contained in:
drigato 2014-06-06 14:51:01 -04:00
parent e4bb97bcc4
commit ee489b39f9

View file

@ -289,7 +289,15 @@ class Application_Service_ShowService
if ($this->ccShow->isRepeating()) {
$ccShowDays = $this->ccShow->getRepeatingCcShowDays();
} 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();
}
}