Skip to content

Commit 2fec5e1

Browse files
Dmitry KologrivovA-Komar
authored andcommitted
MAGNIMEX-145: Change return of getMediaGalleryData function
1 parent b5a8d42 commit 2fec5e1

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,9 +1784,7 @@ protected function getMediaGalleryData($bunch)
17841784
}
17851785
}
17861786
}
1787-
if (isset($mediaGallery)) {
1788-
return $mediaGallery;
1789-
}
1787+
return $mediaGallery;
17901788
}
17911789

17921790
/**

0 commit comments

Comments
 (0)