// little fix

This commit is contained in:
vChabot committed 2012-01-09 15:51:57 +00:00
1 parent f6627d30fa
commit f5b6d2e672
1 file changed
+1 -1
+1 -1
View File
@@ -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;