diff options
author | Tristan Darricau <github@nicofuma.fr> | 2015-01-14 11:13:28 +0100 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2015-01-14 11:13:28 +0100 |
commit | 8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2 (patch) | |
tree | c035cbe355853f9fa1c129e4fb2f298b077658bb /phpBB | |
parent | 1f4bb2c1495e8d2641abe9606f14281e810feee4 (diff) | |
download | forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.tar forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.tar.gz forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.tar.bz2 forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.tar.xz forums-8ef238ea73b481a717d8b68fb1fd7d1b8799d7f2.zip |
[ticket/13361] Fix the JsonResponse in the exception listener
PHPBB3-13361
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/event/kernel_exception_subscriber.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/event/kernel_exception_subscriber.php b/phpBB/phpbb/event/kernel_exception_subscriber.php index 01940a4fa9..eb7831ad34 100644 --- a/phpBB/phpbb/event/kernel_exception_subscriber.php +++ b/phpBB/phpbb/event/kernel_exception_subscriber.php @@ -94,7 +94,7 @@ class kernel_exception_subscriber implements EventSubscriberInterface $data['trace'] = $exception->getTrace(); } - $response = new JsonResponse($message, 500); + $response = new JsonResponse($data, 500); } if ($exception instanceof HttpExceptionInterface) |