From 6cd84363a6f2ee48f80f286315c2a03be8baeb93 Mon Sep 17 00:00:00 2001 From: drigato Date: Mon, 24 Feb 2014 16:04:48 -0500 Subject: [PATCH] CC-5697: Editing a linked show's repeat day sets wrong day for show content Added comment --- airtime_mvc/application/services/ShowService.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/airtime_mvc/application/services/ShowService.php b/airtime_mvc/application/services/ShowService.php index ea4007267..d142636fc 100644 --- a/airtime_mvc/application/services/ShowService.php +++ b/airtime_mvc/application/services/ShowService.php @@ -1067,6 +1067,11 @@ SQL; $ccShowInstance = $this->getInstance($utcStartDateTime); $newInstance = false; $updateScheduleStatus = true; + /* Keep track of which instances in the cc_show are being + * updated. We are not interested in which instances are + * new because we won't need to update the scheduled content + * for those shows + */ array_push($this->instanceIdsForScheduleUpdates, $ccShowInstance->getDbId()); } else { $newInstance = true;