✨ Do not add LibreTime to title if station name is set
This commit is contained in:
parent
e26b9c2721
commit
541204b4ff
1 changed files with 4 additions and 3 deletions
|
@ -201,10 +201,11 @@ class Application_Model_Preference
|
||||||
public static function GetHeadTitle()
|
public static function GetHeadTitle()
|
||||||
{
|
{
|
||||||
$title = self::getValue("station_name");
|
$title = self::getValue("station_name");
|
||||||
if (strlen($title) > 0)
|
if (empty($title)) {
|
||||||
$title .= " - ";
|
$title = PRODUCT_NAME;
|
||||||
|
}
|
||||||
|
|
||||||
return $title.PRODUCT_NAME;
|
return $title;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function SetHeadTitle($title, $view=null)
|
public static function SetHeadTitle($title, $view=null)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue