From 6316c23b25d084098ecc75b21dbe99535b41c04f Mon Sep 17 00:00:00 2001 From: James Date: Mon, 11 Jun 2012 16:10:51 -0400 Subject: [PATCH] CC-3954: apache log errors part3 - bug fix --- airtime_mvc/application/models/Preference.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/models/Preference.php b/airtime_mvc/application/models/Preference.php index 01a31d180..6dd902807 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -179,7 +179,7 @@ class Application_Model_Preference // we need this function to work with 2.0 version on default_fade value in cc_pref // it has 00:00:00.000000 format where in 2.1 we have 00.000000 format - if(preg_match("/([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{6})", $fade, $matches) == 1 && count($matches) == 5){ + if(preg_match("/([0-9]{2}):([0-9]{2}):([0-9]{2}).([0-9]{6})/", $fade, $matches) == 1 && count($matches) == 5){ $out = 0; $out += intval($matches[1] * 3600); $out += intval($matches[2] * 60);