// little fix

This commit is contained in:
vChabot
2012-01-09 15:51:57 +00:00
parent f6627d30fa
commit f5b6d2e672
+1 -1
View File
@@ -1277,7 +1277,7 @@ class CategoryCore extends ObjectModel
'.$sql);
}
public function getRootCategories($id_lang = null, $active = true)
public static function getRootCategories($id_lang = null, $active = true)
{
if (!$id_lang)
$id_lang = Context::getContext()->language->id;