From 9b85d6fc1fed9c12b1eae41cd929cf0ef012ebe9 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() --- 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'); } /**