From addb65eb5f12b3d215a10f3f3060d9118d5b1c65 Mon Sep 17 00:00:00 2001 From: Mikko Hellsing Date: Wed, 11 Dec 2013 02:01:48 +0100 Subject: [PATCH] [-] BO : Set correct table alias name in updatePosition --- classes/Category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Category.php b/classes/Category.php index ae8c54802..8800f7591 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -1151,7 +1151,7 @@ class CategoryCore extends ObjectModel if (!$res = Db::getInstance()->executeS(' SELECT cp.`id_category`, category_shop.`position`, cp.`id_parent` FROM `'._DB_PREFIX_.'category` cp - '.Shop::addSqlAssociation('category', 'c').' + '.Shop::addSqlAssociation('category', 'cp').' WHERE cp.`id_parent` = '.(int)$this->id_parent.' ORDER BY category_shop.`position` ASC' ))