[-] BO : fix #PSCFV-4988

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17858 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-10-15 09:36:01 +00:00
parent 531877ef71
commit 97a50f54a2
3 changed files with 24 additions and 14 deletions
+1 -1
View File
@@ -1437,7 +1437,7 @@ class AdminImportControllerCore extends AdminController
$tab_feature = explode(':', $single_feature);
$feature_name = trim($tab_feature[0]);
$feature_value = trim($tab_feature[1]);
$position = isset($tab_feature[2]) ? $tab_feature[1]: false;
$position = isset($tab_feature[2]) ? $tab_feature[2]: false;
$id_feature = Feature::addFeatureImport($feature_name, $position);
$id_feature_value = FeatureValue::addFeatureValueImport($id_feature, $feature_value);
Product::addFeatureProductImport($product->id, $id_feature, $id_feature_value);