From d821d474e05c4da819eabce473ea11f156bdc063 Mon Sep 17 00:00:00 2001 From: rMalie Date: Mon, 27 Feb 2012 13:15:02 +0000 Subject: [PATCH] // Fix multishop on Category->getChildren() git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13621 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Category.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/Category.php b/classes/Category.php index 4e3e35c54..073b5cbd6 100644 --- a/classes/Category.php +++ b/classes/Category.php @@ -739,10 +739,9 @@ class CategoryCore extends ObjectModel LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category`'.Shop::addSqlRestrictionOnLang('cl').') '.Shop::addSqlAssociation('category', 'c').' WHERE `id_lang` = '.(int)$id_lang.' - AND cs.`id_shop` = '.(int)Context::getContext()->shop->id.' AND c.`id_parent` = '.(int)$id_parent.' '.($active ? 'AND `active` = 1' : '').' - ORDER BY cs.`position` ASC'); + ORDER BY asso_shop_category.`position` ASC'); } /**