Skip to content

Commit 2ac859e

Browse files
author
Karpenko, Oleksandr
committed
MAGETWO-57656: Base url should be processed while sending email
1 parent 8b7c710 commit 2ac859e

File tree

1 file changed

+2
-2
lines changed
  • lib/internal/Magento/Framework/View/Asset/NotationResolver

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/View/Asset/NotationResolver/Variable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function convertVariableNotation($path)
4949
$replacements = [];
5050
foreach ($matches as $match) {
5151
if (!isset($replacements[$match[0]])) {
52-
$replacements[$match[0]] = $this->preProcessPlaceholder($match[1]);
52+
$replacements[$match[0]] = $this->getPlaceholderValue($match[1]);
5353
}
5454
}
5555
$path = str_replace(array_keys($replacements), $replacements, $path);
@@ -63,7 +63,7 @@ public function convertVariableNotation($path)
6363
* @param string $placeholder
6464
* @return string
6565
*/
66-
public function preProcessPlaceholder($placeholder)
66+
public function getPlaceholderValue($placeholder)
6767
{
6868
/** @var \Magento\Framework\View\Asset\File\FallbackContext $context */
6969
$context = $this->assetRepo->getStaticViewFileContext();

0 commit comments

Comments
 (0)