handlers: HandlerSearch: Add missing call to setGeneralVars()
This commit is contained in:
förälder
5db9305408
incheckning
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laddar…
x
Referens i nytt ärende
Block a user