From 51b5cc205237e719e4d75176f3b12e178bc1d774 Mon Sep 17 00:00:00 2001 From: drigato Date: Thu, 6 Mar 2014 10:54:40 -0500 Subject: [PATCH] CC-5725: Changing a show's repeat type removes first instance from repeating series --- airtime_mvc/application/services/ShowService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/application/services/ShowService.php b/airtime_mvc/application/services/ShowService.php index d03820a53..379a3f526 100644 --- a/airtime_mvc/application/services/ShowService.php +++ b/airtime_mvc/application/services/ShowService.php @@ -1547,8 +1547,8 @@ SQL; if ($this->isUpdate) { $showDay = CcShowDaysQuery::create() ->filterByDbShowId($showId) - ->filterByDbRepeatType($this->repeatType) - ->filterByDbDay($day) + ->filterByDbRepeatType($this->origCcShowDay->getDbRepeatType()) + ->filterByDbDay($this->origCcShowDay->getDbDay()) ->findOne(); if (!$showDay) { //if no show day object was found it is because a new