// Fix redirection problem with products

This commit is contained in:
mDeflotte
2012-02-29 09:34:45 +00:00
parent fe29a89917
commit aa64e0bf28
+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);
}