diff options
author | Máté Bartus <mate.bartus@gmail.com> | 2016-10-20 18:34:59 +0200 |
---|---|---|
committer | Máté Bartus <mate.bartus@gmail.com> | 2016-10-20 18:34:59 +0200 |
commit | fd7244c892cdacbe85886c5c2a0a8571489650c5 (patch) | |
tree | 8f2d5a476b6ac7235cc53583aafc148d64aa22c0 /phpBB/phpbb/event/kernel_exception_subscriber.php | |
parent | 84a8cf00ad9e51ae1463b1d02ec11b211b8b1ff6 (diff) | |
parent | 05d0879795236e5fc4ae07145c0d7bcab05e5c15 (diff) | |
download | forums-fd7244c892cdacbe85886c5c2a0a8571489650c5.tar forums-fd7244c892cdacbe85886c5c2a0a8571489650c5.tar.gz forums-fd7244c892cdacbe85886c5c2a0a8571489650c5.tar.bz2 forums-fd7244c892cdacbe85886c5c2a0a8571489650c5.tar.xz forums-fd7244c892cdacbe85886c5c2a0a8571489650c5.zip |
Merge branch '3.1.x' into 3.2.x
Diffstat (limited to 'phpBB/phpbb/event/kernel_exception_subscriber.php')
-rw-r--r-- | phpBB/phpbb/event/kernel_exception_subscriber.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/phpbb/event/kernel_exception_subscriber.php b/phpBB/phpbb/event/kernel_exception_subscriber.php index 527b863359..3c7375dadf 100644 --- a/phpBB/phpbb/event/kernel_exception_subscriber.php +++ b/phpBB/phpbb/event/kernel_exception_subscriber.php @@ -70,6 +70,9 @@ class kernel_exception_subscriber implements EventSubscriberInterface $message = $this->language->lang_array($message, $exception->get_parameters()); } + // Show <strong> text in bold + $message = preg_replace('#<(/?strong)>#i', '<$1>', $message); + if (!$event->getRequest()->isXmlHttpRequest()) { page_header($this->language->lang('INFORMATION')); |