Merge pull request #13143 from MrPetovan/bug/12684-category-link
Support special characters in category widget links
This commit is contained in:
commit
afa6e0ee3c
|
@ -178,6 +178,10 @@ class Widget
|
|||
$baseUrl = trim($baseUrl, '?') . '?';
|
||||
}
|
||||
|
||||
array_walk($options, function (&$value) {
|
||||
$value['ref'] = rawurlencode($value['ref']);
|
||||
});
|
||||
|
||||
return Renderer::replaceMacros(Renderer::getMarkupTemplate('widget/filter.tpl'), [
|
||||
'$type' => $type,
|
||||
'$title' => $title,
|
||||
|
|
Loading…
Reference in New Issue
Block a user