Small fix to overlapping show check

This commit is contained in:
drigato 2013-12-03 15:14:53 -05:00
parent c18d53f403
commit 4253608948
1 changed files with 1 additions and 1 deletions

View File

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