Fix URLs in our image helper having multiple params

This commit is contained in:
Eric Lippmann 2019-01-25 09:20:55 +01:00
parent 08c879249b
commit 9571d1059f
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ $this->addHelperFunction('img', function ($url, $params = null, array $propertie
return sprintf(
'<img src="%s"%s />',
$view->escape($view->url($url, $params)),
$view->escape($view->url($url, $params)->getAbsoluteUrl()),
$view->propertiesToString($properties)
);
});