diff --git a/airtime_mvc/application/controllers/PreferenceController.php b/airtime_mvc/application/controllers/PreferenceController.php index 0e13eb3ec..25aae1d10 100644 --- a/airtime_mvc/application/controllers/PreferenceController.php +++ b/airtime_mvc/application/controllers/PreferenceController.php @@ -54,7 +54,7 @@ class PreferenceController extends Zend_Controller_Action $imagePath = $logoUploadElement->getFileName(); // Only update the image logo if the new logo is non-empty - if (!is_null($imagePath) && $imagePath != "") { + if (!empty($imagePath) && $imagePath != "") { Application_Model_Preference::SetStationLogo($imagePath); }