[-] MO : #PSCFV-2640 - Fix bug with blocklayered and multishop

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15813 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-06-04 09:41:18 +00:00
parent 3431b10465
commit eb475b1a78
+3 -6
View File
@@ -1413,13 +1413,10 @@ class BlockLayered extends Module
$shop_list = array();
if (isset($_POST['checkBoxShopAsso_layered_filter']))
{
foreach ($_POST['checkBoxShopAsso_layered_filter'] as $id_asso_object => $row)
foreach ($_POST['checkBoxShopAsso_layered_filter'] as $id_shop => $row)
{
foreach ($row as $id_shop => $value)
{
$assos[] = array('id_object' => (int)$id_layered_filter, 'id_shop' => (int)$id_shop);
$shop_list[] = (int)$id_shop;
}
$assos[] = array('id_object' => (int)$id_layered_filter, 'id_shop' => (int)$id_shop);
$shop_list[] = (int)$id_shop;
}
}
else