aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 5005033166..9379284326 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2817,10 +2817,11 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
{
case E_NOTICE:
case E_WARNING:
+ case E_STRICT:
// Check the error reporting level and return if the error level does not match
// If DEBUG is defined the default level is E_ALL
- if (($errno & ((defined('DEBUG')) ? E_ALL : error_reporting())) == 0)
+ if (($errno & ((defined('DEBUG')) ? E_ALL | E_STRICT : error_reporting())) == 0)
{
return;
}
@@ -2847,6 +2848,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
break;
+ case E_RECOVERABLE_ERROR:
case E_USER_ERROR:
if (!empty($user) && !empty($user->lang))