handlers: HandlerSearch: Add missing call to setGeneralVars()
This commit is contained in:
父節點
5db9305408
當前提交
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;
|
||||
}
|
||||
|
||||
|
載入中…
新增問題並參考
Block a user