Fix bug where show logo was removed when deleting an instance of a repeating show
This commit is contained in:
parent
1f319f84a4
commit
2296aab8d5
|
@ -764,7 +764,7 @@ SQL;
|
|||
|
||||
// Delete show images
|
||||
$showId = $ccShowInstance->getDbShowId();
|
||||
if (!Rest_ShowImageController::deleteShowImagesFromStor($showId)) {
|
||||
if (!$singleInstance && !Rest_ShowImageController::deleteShowImagesFromStor($showId)) {
|
||||
throw new Exception("Error deleting show images");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue