summaryrefslogtreecommitdiff
path: root/app/Core/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-09-10 23:12:38 -0400
committerFrederic Guillot <fred@kanboard.net>2016-09-10 23:12:38 -0400
commita0227cad69aff9486fba1d7b2a19e6da97450100 (patch)
treee4585be087759022b8a3d0108eacff3494da470e /app/Core/Controller
parent44f680cf2f1463721eb5bdb7eda4d3b339e63ba9 (diff)
Define only what is allowed for column restrictions
Diffstat (limited to 'app/Core/Controller')
-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());
}
}