From 9275b21f482a4e309a78d0035c20d4afef200710 Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Tue, 13 Dec 2011 11:10:04 +0100 Subject: [PATCH] CC-3177 : editing a show in the calendar brakes show edit form --- airtime_mvc/application/models/Show.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/models/Show.php b/airtime_mvc/application/models/Show.php index 4381d0467..a5b17ffc1 100644 --- a/airtime_mvc/application/models/Show.php +++ b/airtime_mvc/application/models/Show.php @@ -111,7 +111,7 @@ class Application_Model_Show { //usually we hide the show-instance, but in this case we are deleting the show template //so delete all show-instances as well. CcShowInstancesQuery::create()->filterByDbOriginalShow($this->_showId)->delete(); - + $show = CcShowQuery::create()->findPK($this->_showId); $show->delete(); } @@ -119,9 +119,9 @@ class Application_Model_Show { public function resizeShow($deltaDay, $deltaMin) { global $CC_DBC; - + if ($deltaDay > 0) { - return "shows can have a max length of 24 hours."; + return "Shows can have a max length of 24 hours."; } $hours = $deltaMin/60;