Commit c25fb80d authored by deviantintegral's avatar deviantintegral
Browse files

Fix missing this.

parent 1c96f114
......@@ -62,7 +62,7 @@ public function on403Html(FlattenException $exception, Request $request) {
$destination = ltrim($request->getPathInfo(), '/');
$request = Request::create('/' . $path, 'GET', array('destination' => $destination));
$response = $kernel->handle($request, DrupalKernel::SUB_REQUEST);
$response = $this->kernel->handle($request, DrupalKernel::SUB_REQUEST);
$response->setStatusCode(403, 'Access denied');
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment