CC-5696: Two shows or even three shows playing at once. Unstopable even after reboot
The problem was that we weren't updating the first show's start time if deleting a repeat show day changes it. This affected the difference between the original show start time and the new one.
This commit is contained in:
parent
f1658f6490
commit
753003639f
2 changed files with 10 additions and 0 deletions
|
@ -220,6 +220,13 @@ class Application_Service_ShowService
|
|||
$this->delegateInstanceCreation($daysAdded);
|
||||
|
||||
if ($this->isUpdate) {
|
||||
/* Set the show's start date to the start date of the first instance.
|
||||
* We need to do this so we get the correct time diff for
|
||||
* updating show content. CC-5696
|
||||
*/
|
||||
$showData["add_show_start_date"] = $this->ccShow->getFirstCcShowDay()->getDbFirstShow();
|
||||
$showData["add_show_start_time"] = $this->ccShow->getFirstCcShowDay()->getDbStartTime();
|
||||
|
||||
$this->adjustSchedule($showData);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue