Skip to content

Commit d805bae

Browse files
author
Aleksey Razbakov
authored
fix #6961
1 parent 073f227 commit d805bae

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ protected function _getUrl()
2121
$url = false;
2222
if ($this->getValue()) {
2323
$url = $this->_urlBuilder->getBaseUrl(
24-
\Magento\Framework\UrlInterface::URL_TYPE_MEDIA
24+
'_type' => \Magento\Framework\UrlInterface::URL_TYPE_MEDIA
2525
) . 'catalog/product/' . $this->getValue();
2626
}
2727
return $url;

0 commit comments

Comments
 (0)