mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-22 12:44:25 +00:00
call urldecode on request provided only
This commit is contained in:
parent
68fbafaefa
commit
20dc122ab2
@ -21,7 +21,7 @@ class SearchController extends AbstractController
|
||||
return $this->render(
|
||||
'default/search/module.html.twig',
|
||||
[
|
||||
'query' => urldecode($query),
|
||||
'query' => $query ? urldecode($query) : '',
|
||||
]
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user