// small fix
This commit is contained in:
1 parent
57207712e9
commit
70fc8aed29
1 file changed
+4
-3
@@ -3417,9 +3417,10 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
if (Shop::isFeatureActive())
|
if (Shop::isFeatureActive())
|
||||||
$shops = Shop::getShops();
|
$shops = Shop::getShops();
|
||||||
|
|
||||||
foreach ($shops as $key => $shop)
|
if ($shops)
|
||||||
if (!$obj->isAssociatedToShop($shop['id_shop']))
|
foreach ($shops as $key => $shop)
|
||||||
unset($shops[$key]);
|
if (!$obj->isAssociatedToShop($shop['id_shop']))
|
||||||
|
unset($shops[$key]);
|
||||||
|
|
||||||
$data->assign('shops', $shops);
|
$data->assign('shops', $shops);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user