avstudnitz / AvS_FastSimpleImport

Wrapper for Magento ImportExport functionality, which imports products and customers from arrays
306 stars 146 forks source link

NestedArray tries to detect first store on string #432

Closed Schrank closed 6 years ago

Schrank commented 6 years ago

The NestedArrayAdapter tries to determine the first store code based on the last row: https://github.com/avstudnitz/AvS_FastSimpleImport/blob/develop/src/app/code/community/AvS/FastSimpleImport/Model/NestedArrayAdapter.php#L59-L62

So before accessing $line['_store'][$newLineNumber] we must make sure that $line['_store'] is an array.