This commit is contained in:
Ludovic CANDELLIER
2022-07-03 09:31:45 +02:00
parent 8054bffb43
commit ab145dd60f

View File

@@ -15,17 +15,17 @@ class Homepages
public static function getHomepage() public static function getHomepage()
{ {
return self::get(1)->text; return self::get(1)->text ?? '';
} }
public static function getFooter() public static function getFooter()
{ {
return self::get(2)->text; return self::get(2)->text ?? '';
} }
public static function getExtraFooter() public static function getExtraFooter()
{ {
return self::get(3)->text; return self::get(3)->text ?? '';
} }
public static function get($id) public static function get($id)