Fix bug where show logo was removed when deleting an instance of a repeating show

This commit is contained in:
Duncan Sommerville 2015-09-09 18:47:43 -04:00
parent 1f319f84a4
commit 2296aab8d5
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ SQL;
// Delete show images // Delete show images
$showId = $ccShowInstance->getDbShowId(); $showId = $ccShowInstance->getDbShowId();
if (!Rest_ShowImageController::deleteShowImagesFromStor($showId)) { if (!$singleInstance && !Rest_ShowImageController::deleteShowImagesFromStor($showId)) {
throw new Exception("Error deleting show images"); throw new Exception("Error deleting show images");
} }