[-] 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:
1 parent
3431b10465
commit
eb475b1a78
1 file changed
+3
-6
@@ -1413,13 +1413,10 @@ class BlockLayered extends Module
|
|||||||
$shop_list = array();
|
$shop_list = array();
|
||||||
if (isset($_POST['checkBoxShopAsso_layered_filter']))
|
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
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user