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:
parent
7a04f7d98e
commit
ce7eddf563
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue