Skip to content

Commit 66efcae

Browse files
authored
Merge pull request #118 from magefan/224_import_bug
fixed bug by import
2 parents 4fd24ee + cf7ffe0 commit 66efcae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Model/Import/AbstractImport.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ public function prepareData($data)
140140
}
141141
}
142142

143-
foreach ($data as $field => $value) {
144-
if (!in_array($field, $this->_requiredFields)) {
145-
unset($data[$field]);
146-
}
147-
}
143+
// foreach ($data as $field => $value) {
144+
// if (!in_array($field, $this->_requiredFields)) {
145+
// unset($data[$field]);
146+
// }
147+
// }
148148

149149
$this->setData($data);
150150

0 commit comments

Comments
 (0)