1
0
mirror of https://github.com/flarum/core.git synced 2025-07-26 11:10:41 +02:00
This commit is contained in:
Toby Zerner
2015-10-14 12:26:48 +10:30
parent c83e386ed2
commit 77807c4bb8

View File

@@ -55,7 +55,7 @@ class HandleErrors implements ErrorMiddlewareInterface
if ($this->debug && $errorCode !== 404) { if ($this->debug && $errorCode !== 404) {
$whoops = new WhoopsMiddleware; $whoops = new WhoopsMiddleware;
return $whoops($error, $request, $response, $out);; return $whoops($error, $request, $response, $out);
} }
$errorPage = $this->getErrorPage($status); $errorPage = $this->getErrorPage($status);