diff --git a/templates/frontend/pages/search.tpl b/templates/frontend/pages/search.tpl index 071a8eafcc1..70042fec935 100644 --- a/templates/frontend/pages/search.tpl +++ b/templates/frontend/pages/search.tpl @@ -31,7 +31,7 @@ {capture name="searchFormUrl"}{url escape=false}{/capture} {assign var=formUrlParameters value=[]}{* Prevent Smarty warning *} - {$smarty.capture.searchFormUrl|parse_url:$smarty.const.PHP_URL_QUERY|parse_str:$formUrlParameters} + {$smarty.capture.searchFormUrl|parse_url:$smarty.const.PHP_URL_QUERY|default:""|parse_str:$formUrlParameters}