CC-5678: Scheduler: Show's contents won't follow show's scheduled time change

Fixed by storing original cc_show_day object by value
This commit is contained in:
drigato 2014-01-30 12:07:24 -05:00
parent 7a04f7d98e
commit ce7eddf563
1 changed files with 2 additions and 2 deletions

View File

@ -155,9 +155,9 @@ class Application_Service_ShowService
private function storeOrigLocalShowInfo()
{
if ($this->ccShow->isRepeating()) {
$this->origCcShowDay = $this->ccShow->getFirstRepeatingCcShowDay();
$this->origCcShowDay = clone $this->ccShow->getFirstRepeatingCcShowDay();
} else {
$this->origCcShowDay = $this->ccShow->getFirstCcShowDay();
$this->origCcShowDay = clone $this->ccShow->getFirstCcShowDay();
}
$this->oldShowTimezone = $this->origCcShowDay->getDbTimezone();