1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-23 00:50:30 +01:00

Merge pull request #4540 from nicebb/ticket/14876

[ticket/14876] Allows multibyte strings for exception messages
This commit is contained in:
Marc Alexander 2016-11-26 16:41:27 +01:00
commit 997bdc7778
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -61,7 +61,7 @@ class kernel_exception_subscriber implements EventSubscriberInterface
$exception = $event->getException();
$message = $exception->getMessage();
$this->type_caster->set_var($message, $message, 'string', false, false);
$this->type_caster->set_var($message, $message, 'string', true, false);
if ($exception instanceof \phpbb\exception\exception_interface)
{