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.
1 parent 7f3face commit 8eb8ae3Copy full SHA for 8eb8ae3
app/code/Magento/Widget/Model/Template/Filter.php
@@ -119,8 +119,7 @@ public function widgetDirective($construction)
119
*/
120
public function mediaDirective($construction)
121
{
122
- $value = isset($construction[2]) ? $construction[2] : '';
123
- $params = $this->_getIncludeParameters($value);
+ $params = $this->_getIncludeParameters($construction[2]);
124
return $this->_storeManager->getStore()
125
->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA) . $params['url'];
126
}
0 commit comments