Fix php8 compatibility
This commit is contained in:
parent
00446a10d7
commit
c486e60d53
1 changed files with 1 additions and 1 deletions
|
|
@ -989,7 +989,7 @@ class Categorie extends CommonObject
|
|||
$categories[$i]['array_options'] = $category_static->array_options;
|
||||
|
||||
// multilangs
|
||||
if (!empty($conf->global->MAIN_MULTILANGS)) {
|
||||
if (!empty($conf->global->MAIN_MULTILANGS) && isset($category_static->multilangs)) {
|
||||
$categories[$i]['multilangs'] = $category_static->multilangs;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue