// little fix
This commit is contained in:
1 parent
f6627d30fa
commit
f5b6d2e672
1 file changed
+1
-1
@@ -1277,7 +1277,7 @@ class CategoryCore extends ObjectModel
|
|||||||
'.$sql);
|
'.$sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRootCategories($id_lang = null, $active = true)
|
public static function getRootCategories($id_lang = null, $active = true)
|
||||||
{
|
{
|
||||||
if (!$id_lang)
|
if (!$id_lang)
|
||||||
$id_lang = Context::getContext()->language->id;
|
$id_lang = Context::getContext()->language->id;
|
||||||
|
|||||||
Reference in new issue
Block a user