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