From f3840f6eac6ed25da6c290cfd8e09aad00dbbaf3 Mon Sep 17 00:00:00 2001 From: denise Date: Fri, 18 May 2012 17:47:26 -0400 Subject: [PATCH] CC-3796: If you change the show's start and end time, the length of content will be displayed as ".00" -refactored empty check on $time --- airtime_mvc/application/models/ShowInstance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/ShowInstance.php b/airtime_mvc/application/models/ShowInstance.php index 3a078bf1e..9e7c82327 100644 --- a/airtime_mvc/application/models/ShowInstance.php +++ b/airtime_mvc/application/models/ShowInstance.php @@ -574,7 +574,7 @@ class Application_Model_ShowInstance { { $time = $this->_showInstance->getDbTimeFilled(); - if ($time != "00:00:00" && $time != null && strcmp($time, '')!=0) { + if ($time != "00:00:00" && !empty($time)) { $time_arr = explode(".", $time); if (count($time_arr) > 1) { $time_arr[1] = "." . $time_arr[1];