Skip to content

Commit 64e4d0a

Browse files
committed
MAGNIMEX-145: undefined index fix
1 parent 7c3357c commit 64e4d0a

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/CatalogImportExport/Model/Import

1 file changed

+3
-0
lines changed

app/code/Magento/CatalogImportExport/Model/Import/Product.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,9 @@ protected function _getAllBunchImages($bunch)
12331233
foreach ($bunch as $rowData) {
12341234
$rowData = $this->_customFieldsMapping($rowData);
12351235
foreach ($this->_imagesArrayKeys as $image) {
1236+
if (empty($rowData[$image])) {
1237+
continue;
1238+
}
12361239
$dispersionPath =
12371240
\Magento\Framework\File\Uploader::getDispretionPath($rowData[$image]);
12381241
$importImages = explode($this->getMultipleValueSeparator(), $rowData[$image]);

0 commit comments

Comments
 (0)