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