SAAS-841: Default station logo to the Airtime logo

This commit is contained in:
drigato 2015-06-03 11:53:32 -04:00
parent d6ec9e99b5
commit 305cb894c3
3 changed files with 21 additions and 4 deletions

View file

@ -602,7 +602,14 @@ class Application_Model_Preference
public static function GetStationLogo()
{
return self::getValue("logoImage");
$logoImage = self::getValue("logoImage");
if (!empty($logoImage)) {
return $logoImage;
} else {
// We return the Airtime logo if no logo is set in the database.
// airtime_logo.png is stored under the public directory
return "airtime_logo.png";
}
}
public static function SetUniqueId($id)