diff --git a/airtime_mvc/application/models/Schedule.php b/airtime_mvc/application/models/Schedule.php index 39f45ea07..fca242f8f 100644 --- a/airtime_mvc/application/models/Schedule.php +++ b/airtime_mvc/application/models/Schedule.php @@ -1005,7 +1005,7 @@ SQL; ->filterByDbId($instanceId) ->findOne(); } - if ($update && (!$ccShowInstance || $ccShowInstance->getDbModifiedInstance() == true)) { + if ($update && ($ccShowInstance && $ccShowInstance->getDbModifiedInstance() == true)) { return false; }