From 4253608948661b52d569d5fcb14ff51dffe6d59c Mon Sep 17 00:00:00 2001 From: drigato Date: Tue, 3 Dec 2013 15:14:53 -0500 Subject: [PATCH] Small fix to overlapping show check --- airtime_mvc/application/models/Schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index 80a26ba75..1dd00f31c 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -1292,7 +1292,7 @@ SQL; ->filterByDbId($instanceId) ->findOne(); } - if (!$ccShowInstance || $ccShowInstance->getDbModifiedInstance() == true) { + if ($update && (!$ccShowInstance || $ccShowInstance->getDbModifiedInstance() == true)) { return false; }