CC-5725: Changing a show's repeat type removes first instance from repeating series
This commit is contained in:
parent
bcda9ea5e6
commit
51b5cc2052
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue