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) {
|
if ($this->isUpdate) {
|
||||||
$showDay = CcShowDaysQuery::create()
|
$showDay = CcShowDaysQuery::create()
|
||||||
->filterByDbShowId($showId)
|
->filterByDbShowId($showId)
|
||||||
->filterByDbRepeatType($this->repeatType)
|
->filterByDbRepeatType($this->origCcShowDay->getDbRepeatType())
|
||||||
->filterByDbDay($day)
|
->filterByDbDay($this->origCcShowDay->getDbDay())
|
||||||
->findOne();
|
->findOne();
|
||||||
if (!$showDay) {
|
if (!$showDay) {
|
||||||
//if no show day object was found it is because a new
|
//if no show day object was found it is because a new
|
||||||
|
|
Loading…
Reference in New Issue