Changed is_null to empty

This commit is contained in:
Duncan Sommerville 2015-03-02 15:25:52 -05:00
parent b6a6f038a9
commit 0272eaef44
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}