Skip to content

Commit 0b32443

Browse files
AnujNehraAnujNehra
authored andcommitted
ACP2E-1529 redirect fix
1 parent fd4a70e commit 0b32443

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Email/Model/Template/Filter.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,9 @@ public function storeDirective($construction)
585585
* Pass extra parameter to distinguish stores urls for property Magento\Framework\Url $cacheUrl
586586
* in multi-store environment
587587
*/
588-
$this->urlModel->setScope($this->_storeManager->getStore());
588+
if ($construction[1]!="store" && $construction[2]!="url=''") {
589+
$this->urlModel->setScope($this->_storeManager->getStore());
590+
}
589591
$params['_escape_params'] = $this->_storeManager->getStore()->getCode();
590592

591593
return $this->urlModel->getUrl($path, $params);

0 commit comments

Comments
 (0)