We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89b27c5 + ab58d42 commit de45814Copy full SHA for de45814
app/code/Magento/CatalogImportExport/Model/Import/Product.php
@@ -1415,7 +1415,9 @@ protected function _saveProducts()
1415
&& !in_array($rowData[$imageCol], $mediaGalleryImages)) {
1416
$mediaGalleryImages[] = $rowData[$imageCol];
1417
if (isset($mediaGalleryLabels)) {
1418
- $mediaGalleryLabels[] = isset($rowData[$imageCol . '_label']);
+ $mediaGalleryLabels[] = isset($rowData[$imageCol . '_label'])
1419
+ ? $rowData[$imageCol . '_label']
1420
+ : '';
1421
} else {
1422
$mediaGalleryLabels[] = '';
1423
}
0 commit comments