// small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17714 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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