Skip to content

Commit e1d23f9

Browse files
Merge branch 'MAGETWO-80203' of github.com:magento-plankton/magento2ce into MAGETWO-80191
2 parents ef5f699 + e1d437a commit e1d23f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/Model/Product/Gallery/Processor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ public function addImage(
192192
$mediaGalleryData['images'][] = [
193193
'file' => $fileName,
194194
'position' => $position,
195+
'media_type' => 'image',
195196
'label' => '',
196197
'disabled' => (int)$exclude,
197198
];

0 commit comments

Comments
 (0)