// Fix multishop on Category->getChildren()

This commit is contained in:
rMalie
2012-02-27 13:15:02 +00:00
parent 9c6b80fabe
commit 9b85d6fc1f
+1 -2
View File
@@ -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');
}
/**