handlers: HandlerSearch: Add missing call to setGeneralVars()
This commit is contained in:
rodzic
5db9305408
commit
bbe74a2c50
@ -28,6 +28,7 @@ Response HandlerSearch::handleRequest(const Request &r)
|
||||
TemplatePage searchForm = this->templ->getPage("searchform");
|
||||
response.setBody(searchForm.render());
|
||||
response.setStatus(200);
|
||||
setGeneralVars(searchForm);
|
||||
return response;
|
||||
}
|
||||
|
||||
|
Ładowanie…
Reference in New Issue
Block a user