mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/17296] Fix session page update test
PHPBB3-17296
This commit is contained in:
@@ -90,12 +90,15 @@ class kernel_exception_subscriber implements EventSubscriberInterface
|
||||
}
|
||||
else if (!$this->debug && $exception instanceof NotFoundHttpException)
|
||||
{
|
||||
// Do not update user session page if it does not exist
|
||||
$this->user->update_session_page = false;
|
||||
|
||||
$message = $this->language->lang('PAGE_NOT_FOUND');
|
||||
}
|
||||
|
||||
// Do not update user session page if it does not exist
|
||||
if ($exception instanceof NotFoundHttpException)
|
||||
{
|
||||
$this->user->update_session_page = false;
|
||||
}
|
||||
|
||||
// Show <strong> text in bold
|
||||
$message = preg_replace('#<(/?strong)>#i', '<$1>', $message);
|
||||
|
||||
|
Reference in New Issue
Block a user