We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97b742d + 59c1d9d commit a0727fbCopy full SHA for a0727fb
lib/internal/Magento/Framework/Data/Form/Element/Image.php
@@ -50,7 +50,7 @@ public function getElementHtml()
50
$url = $this->_getUrl();
51
52
if (!preg_match("/^http\:\/\/|https\:\/\//", $url)) {
53
- $url = $this->_urlBuilder->getBaseUrl('media') . $url;
+ $url = $this->_urlBuilder->getBaseUrl(['_type' => \Magento\Framework\UrlInterface::URL_TYPE_MEDIA]) . $url;
54
}
55
56
$html = '<a href="' .
0 commit comments