mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
PHP8 fix.
This commit is contained in:
@@ -3063,8 +3063,13 @@ class themeHandler
|
||||
|
||||
$this->id = $name;
|
||||
$this->loadThemeConfig();
|
||||
$className = get_class($this->themeConfigObj);
|
||||
|
||||
$className = '';
|
||||
|
||||
if(!empty($this->themeConfigObj))
|
||||
{
|
||||
$className = get_class($this->themeConfigObj);
|
||||
}
|
||||
if($className === 'theme_config') // new way. 2.1.4
|
||||
{
|
||||
$themeConfig = e107::getThemeConfig($name);
|
||||
|
Reference in New Issue
Block a user