[-] BO : fix #PSCFV-4131
This commit is contained in:
1 parent
513999a9e5
commit
06bb21fe5f
1 file changed
+5
-2
@@ -1455,10 +1455,13 @@ class AdminImportControllerCore extends AdminController
|
|||||||
|
|
||||||
AdminImportController::setDefaultValues($info);
|
AdminImportController::setDefaultValues($info);
|
||||||
|
|
||||||
|
if (!Shop::isFeatureActive())
|
||||||
|
$info['shop'] = 1;
|
||||||
|
elseif (!isset($info['shop']) || empty($info['shop']))
|
||||||
|
$info['shop'] = implode($this->multiple_value_separator, Shop::getContextListShopID());
|
||||||
|
|
||||||
// Get shops for each attributes
|
// Get shops for each attributes
|
||||||
$info['shop'] = explode($this->multiple_value_separator, $info['shop']);
|
$info['shop'] = explode($this->multiple_value_separator, $info['shop']);
|
||||||
if (!isset($info['shop']) || !count($info['shop']))
|
|
||||||
$info['shop'] = Shop::getContextListShopID();
|
|
||||||
|
|
||||||
$id_shop_list = array();
|
$id_shop_list = array();
|
||||||
foreach ($info['shop'] as $shop)
|
foreach ($info['shop'] as $shop)
|
||||||
|
|||||||
Reference in new issue
Block a user