SAAS-855: Default station description in Preferences
This commit is contained in:
parent
060280d5a5
commit
87920c1fc1
2 changed files with 6 additions and 2 deletions
|
@ -498,7 +498,12 @@ class Application_Model_Preference
|
|||
|
||||
public static function GetStationDescription()
|
||||
{
|
||||
return self::getValue("description");
|
||||
$description = self::getValue("description");
|
||||
if (!empty($description)) {
|
||||
return $description;
|
||||
} else {
|
||||
return "Powered by Airtime Pro";
|
||||
}
|
||||
}
|
||||
|
||||
// Sets station default timezone (from preferences)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue