diff options
Diffstat (limited to 'phpBB/phpbb/debug/error_handler.php')
-rw-r--r-- | phpBB/phpbb/debug/error_handler.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/phpbb/debug/error_handler.php b/phpBB/phpbb/debug/error_handler.php index 2b182628a8..246e724f56 100644 --- a/phpBB/phpbb/debug/error_handler.php +++ b/phpBB/phpbb/debug/error_handler.php @@ -14,13 +14,12 @@ namespace phpbb\debug; use Symfony\Component\Debug\ErrorHandler; -use Symfony\Component\Filesystem\Exception\IOException; class error_handler extends ErrorHandler { public function handleError($type, $message, $file, $line, array $context, array $backtrace = null) { - if ($type === E_USER_WARNING|| $type === E_USER_NOTICE) + if ($type === E_USER_WARNING || $type === E_USER_NOTICE) { $handler = defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler'; |