From 600f80e03f4a547281f7e204388e975ee2f2a01e Mon Sep 17 00:00:00 2001 From: james Date: Thu, 30 Jun 2011 13:52:51 -0400 Subject: [PATCH] - suppressing error msg in case there is an error --- 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 87683d50a..8396b370b 100644 --- a/airtime_mvc/application/models/Preference.php +++ b/airtime_mvc/application/models/Preference.php @@ -263,7 +263,7 @@ class Application_Model_Preference public static function SetStationLogo($imagePath){ if(!empty($imagePath)){ - $image = file_get_contents($imagePath); + $image = @file_get_contents($imagePath); $image = base64_encode($image); Application_Model_Preference::SetValue("logoImage", $image); }