Last active
July 13, 2018 12:23
-
-
Save MrAlejandro/b0f146ce6dfa0d0a70ecbf0dfb0ca0c9 to your computer and use it in GitHub Desktop.
Advanced import features import fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/addons/advanced_import/func.php b/app/addons/advanced_import/func.php | |
index 579a6cc464..75278f58a1 100644 | |
--- a/app/addons/advanced_import/func.php | |
+++ b/app/addons/advanced_import/func.php | |
@@ -99,12 +99,12 @@ function fn_advanced_import_set_product_features($product_id, $features_list, $v | |
'feature_id', | |
$missing_features | |
); | |
+ } | |
- foreach ($features_list as $feature_id => &$feature) { | |
- $feature = array_merge($feature, $features_cache[$feature_id]); | |
- } | |
- unset($feature); | |
+ foreach ($features_list as $feature_id => &$feature) { | |
+ $feature = array_merge($feature, $features_cache[$feature_id]); | |
} | |
+ unset($feature); | |
if ($features_list) { | |
fn_exim_save_product_features_values($product_id, $features_list, $main_lang); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment