CC-5697: Editing a linked show's repeat day sets wrong day for show content
Fixed a problem where we can't store the original cc_show_day data because none can exist at some points. If the user changes the only repeat day, the cc_show_day rule is deleted first then recreated
This commit is contained in:
parent
3db1cd412a
commit
f1658f6490
|
@ -189,9 +189,11 @@ class Application_Service_ShowService
|
|||
$daysAdded = array();
|
||||
|
||||
if ($this->isUpdate) {
|
||||
$daysAdded = $this->delegateInstanceCleanup($showData);
|
||||
if (!$this->ccShow->getCcShowDayss()->isEmpty()) {
|
||||
$this->storeOrigLocalShowInfo();
|
||||
}
|
||||
|
||||
$this->storeOrigLocalShowInfo();
|
||||
$daysAdded = $this->delegateInstanceCleanup($showData);
|
||||
|
||||
$this->deleteRebroadcastInstances();
|
||||
|
||||
|
|
Loading…
Reference in New Issue