From f5b6d2e67227ede866910008ddbae1b15072b23b Mon Sep 17 00:00:00 2001 From: vChabot Date: Mon, 9 Jan 2012 15:51:57 +0000 Subject: [PATCH] // little fix --- classes/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Category.php b/classes/Category.php index 0ba3501f4..3a806eae3 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -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;