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 fd4a70e commit 0b32443Copy full SHA for 0b32443
app/code/Magento/Email/Model/Template/Filter.php
@@ -585,7 +585,9 @@ public function storeDirective($construction)
585
* Pass extra parameter to distinguish stores urls for property Magento\Framework\Url $cacheUrl
586
* in multi-store environment
587
*/
588
- $this->urlModel->setScope($this->_storeManager->getStore());
+ if ($construction[1]!="store" && $construction[2]!="url=''") {
589
+ $this->urlModel->setScope($this->_storeManager->getStore());
590
+ }
591
$params['_escape_params'] = $this->_storeManager->getStore()->getCode();
592
593
return $this->urlModel->getUrl($path, $params);
0 commit comments