Changed is_null to empty
This commit is contained in:
parent
b6a6f038a9
commit
0272eaef44
|
@ -54,7 +54,7 @@ class PreferenceController extends Zend_Controller_Action
|
||||||
$imagePath = $logoUploadElement->getFileName();
|
$imagePath = $logoUploadElement->getFileName();
|
||||||
|
|
||||||
// Only update the image logo if the new logo is non-empty
|
// 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);
|
Application_Model_Preference::SetStationLogo($imagePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue