1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 02:01:19 +02:00

Make registration errors still work properly when debug mode is on

This commit is contained in:
Toby Zerner
2018-09-21 14:18:17 +09:30
parent 5e1e7b2171
commit 5cda25c8b6
2 changed files with 24 additions and 9 deletions

View File

@@ -128,6 +128,8 @@ class HtmlDocumentFactory
{
$actor = $request->getAttribute('actor');
$this->api->setErrorHandler(null);
return $this->getResponseBody(
$this->api->send(ShowForumController::class, $actor)
);