From 6e6327bcac241a56e512b6ee03dc1c2369a7222e Mon Sep 17 00:00:00 2001 From: vChabot Date: Mon, 9 Jan 2012 15:31:38 +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 5a99f7aa3..0ba3501f4 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -1289,7 +1289,7 @@ class CategoryCore extends ObjectModel '.(($active) ? 'AND `active` = 1': '')); } - public function getCategoriesWithoutParent() + public static function getCategoriesWithoutParent() { return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT c.*