diff --git a/control/Controller.php b/control/Controller.php index 86cbf7f34..da8ce704d 100644 --- a/control/Controller.php +++ b/control/Controller.php @@ -133,6 +133,7 @@ class Controller extends RequestHandler implements TemplateGlobalProvider { $this->pushCurrent(); $this->urlParams = $request->allParams(); $this->setRequest($request); + $this->getResponse(); $this->setDataModel($model); $this->extend('onBeforeInit');