CC-5633: Can schedule overlapping shows

The overlapping show check was returning false too early
This commit is contained in:
drigato 2013-12-12 11:48:00 -05:00
parent 37ea29380b
commit 9bbc3cf713

View file

@ -1005,7 +1005,7 @@ SQL;
->filterByDbId($instanceId)
->findOne();
}
if ($update && (!$ccShowInstance || $ccShowInstance->getDbModifiedInstance() == true)) {
if ($update && ($ccShowInstance && $ccShowInstance->getDbModifiedInstance() == true)) {
return false;
}