Skip to content

Commit 7dabb19

Browse files
andimovvzabaznov
authored andcommitted
MAGETWO-55447: Portdown MAGETWO-54718 down to M2.1.x branch
- MAGETWO-54718: [GitHub] Exception thrown where no Product Image file found #5184 #5497 #5871 - (cherry picked from commit 0bad8ab)
1 parent 8a0ea4a commit 7dabb19

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function getImagesJson()
134134
is_array($value['images']) &&
135135
count($value['images'])
136136
) {
137-
$mediaDir = $this->_filesystem->getDirectoryRead(DirectoryList::MEDIA);
137+
$mediaDir = $this->_filesystem->getDirectoryRead(DirectoryList::MEDIA);
138138
$images = $this->sortImagesByPosition($value['images']);
139139
foreach ($images as &$image) {
140140
$image['url'] = $this->_mediaConfig->getMediaUrl($image['file']);

0 commit comments

Comments
 (0)