fix
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user