// Fix redirection problem with products

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13720 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-02-29 09:34:45 +00:00
parent 3dc4952167
commit dbd75f46fa
+2 -1
View File
@@ -4851,7 +4851,8 @@ class ProductCore extends ObjectModel
SELECT asso_shop_product.`id_category_default`
FROM `'._DB_PREFIX_.'product` p
'.Shop::addSqlAssociation('product', 'p').'
WHERE asso_shop_product.`id_shop` = '.(int)$id_shop);
WHERE asso_shop_product.`id_shop` = '.(int)$id_shop.'
AND p.`id_product` = '.(int)$this->id);
}