diff --git a/phpBB/phpbb/event/kernel_exception_subscriber.php b/phpBB/phpbb/event/kernel_exception_subscriber.php index 957dcedc5d..9d15f9370e 100644 --- a/phpBB/phpbb/event/kernel_exception_subscriber.php +++ b/phpBB/phpbb/event/kernel_exception_subscriber.php @@ -69,7 +69,7 @@ class kernel_exception_subscriber implements EventSubscriberInterface } // Show text in bold - $message = preg_replace('#<(/?)(strong)>#i', '<$1$2>', $message); + $message = preg_replace('#<(/?strong)>#i', '<$1>', $message); if (!$event->getRequest()->isXmlHttpRequest()) {