From 2296aab8d56ccbd059dd19e6e6765cf8927b0738 Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Wed, 9 Sep 2015 18:47:43 -0400 Subject: [PATCH] Fix bug where show logo was removed when deleting an instance of a repeating show --- airtime_mvc/application/services/ShowService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/services/ShowService.php b/airtime_mvc/application/services/ShowService.php index 57002b7fd..2be14fc32 100644 --- a/airtime_mvc/application/services/ShowService.php +++ b/airtime_mvc/application/services/ShowService.php @@ -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"); }