summaryrefslogtreecommitdiff
path: root/app/Core/Controller/Runner.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/Controller/Runner.php')
-rw-r--r--app/Core/Controller/Runner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Controller/Runner.php b/app/Core/Controller/Runner.php
index 8353cf69..48346390 100644
--- a/app/Core/Controller/Runner.php
+++ b/app/Core/Controller/Runner.php
@@ -35,7 +35,7 @@ class Runner extends Base
$controllerObject->notFound($e->hasLayout());
} catch (AccessForbiddenException $e) {
$controllerObject = new AppController($this->container);
- $controllerObject->accessForbidden($e->hasLayout());
+ $controllerObject->accessForbidden($e->hasLayout(), $e->getMessage());
}
}