diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 2faa080..d6b71e6 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -162,7 +162,7 @@ class FrontController */ public function error(Request $request, Response $response, \Exception $exception) { - if ($container instanceof Container) { + if ($this->container instanceof Container) { $this->container->view->render( $response, 'error.tpl',