mirror of
https://github.com/e107inc/e107.git
synced 2025-09-01 02:21:58 +02:00
PHP8 Warning removal.
This commit is contained in:
@@ -65,6 +65,11 @@ class list_shortcodes
|
||||
|
||||
function sc_list_heading()
|
||||
{
|
||||
if(empty($this->row['heading']))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return e107::getParser()->toHTML($this->row['heading'], true, "TITLE");
|
||||
}
|
||||
|
||||
@@ -75,6 +80,11 @@ class list_shortcodes
|
||||
|
||||
function sc_list_category()
|
||||
{
|
||||
if(empty($this->row['category']))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return e107::getParser()->toHTML($this->row['category'], true, "");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user