Skip to content

Commit

Permalink
Fixes issue simonhamp#13
Browse files Browse the repository at this point in the history
  • Loading branch information
tumainimosha committed Aug 6, 2019
1 parent 89f2f85 commit cb27cf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ private function mapRowDataToAttributes($row)
$data = [];

foreach ($this->attributes as $field) {
// Skip array attributes
if(!is_string($field)) continue;

$data[$field] = null;

foreach ($this->attribute_map as $column => $attribute) {
Expand Down

0 comments on commit cb27cf5

Please sign in to comment.