Skip to content
Snippets Groups Projects
Commit 013bbe41 authored by Plamen Nikolov's avatar Plamen Nikolov :zap:
Browse files

Smarty URL generator helpers use `&` instead of `&`

parent 14ab7702
No related branches found
No related tags found
No related merge requests found
Pipeline #6786 passed with stages
in 11 minutes and 54 seconds
......@@ -22,5 +22,9 @@
*/
function smarty_function_full_link_to(array $options, Smarty_Internal_Template $template)
{
return \Core\Config()->urls('full') . str_replace(array('&', '&'), '&', \Core\Router()->toUrl($options));
return \Core\Config()->urls('full') . str_replace(
array('&', '&'),
'&',
\Core\Router()->toUrl($options)
);
}
......@@ -22,5 +22,9 @@
*/
function smarty_function_link_to(array $options, Smarty_Internal_Template $template)
{
return \Core\Config()->urls('relative') . str_replace(array('&', '&'), '&', \Core\Router()->toUrl($options));
return \Core\Config()->urls('relative') . str_replace(
array('&', '&'),
'&',
\Core\Router()->toUrl($options)
);
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment