Skip to content

Commit 75806e3

Browse files
committed
MAGETWO-66554: fix #6961 #6971
- Merge Pull Request #6971 from razbakov/magento2:patch-1
2 parents 2b24aa3 + cfbe0a6 commit 75806e3

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)