Skip to content

Commit 32d4459

Browse files
Dmitry KologrivovA-Komar
authored andcommitted
MAGNIMEX-145: Right position label in array
1 parent a5fd649 commit 32d4459

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1772,7 +1772,7 @@ protected function getMediaGalleryData($bunch)
17721772
$mediaGallery[$rowSku][] = [
17731773
'attribute_id' => $this->getMediaGalleryAttributeId(),
17741774
'label' => isset($mediaGalleryLabels[$position]) ? $mediaGalleryLabels[$position] : '',
1775-
'position' => $position++,
1775+
'position' => $position,
17761776
'disabled' => '',
17771777
'value' => $media_image,
17781778
];

0 commit comments

Comments
 (0)