aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2018-05-25 00:34:31 +0200
committerRubén Calvo <rubencm@gmail.com>2018-05-25 00:34:31 +0200
commitcc4a68f32abcf959b4ddfebba07fdab8264e22db (patch)
tree928284b7cfc91895975c0776e8f83a181e918f6e
parent7c839470b7cf0942758feccdc70c083aacec2699 (diff)
downloadforums-cc4a68f32abcf959b4ddfebba07fdab8264e22db.tar
forums-cc4a68f32abcf959b4ddfebba07fdab8264e22db.tar.gz
forums-cc4a68f32abcf959b4ddfebba07fdab8264e22db.tar.bz2
forums-cc4a68f32abcf959b4ddfebba07fdab8264e22db.tar.xz
forums-cc4a68f32abcf959b4ddfebba07fdab8264e22db.zip
[ticket/15504] Fix warning message
PHPBB3-15504
-rw-r--r--phpBB/phpbb/debug/error_handler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/debug/error_handler.php b/phpBB/phpbb/debug/error_handler.php
index 246e724f56..ebd828b97f 100644
--- a/phpBB/phpbb/debug/error_handler.php
+++ b/phpBB/phpbb/debug/error_handler.php
@@ -17,7 +17,7 @@ use Symfony\Component\Debug\ErrorHandler;
class error_handler extends ErrorHandler
{
- public function handleError($type, $message, $file, $line, array $context, array $backtrace = null)
+ public function handleError($type, $message, $file, $line)
{
if ($type === E_USER_WARNING || $type === E_USER_NOTICE)
{
@@ -26,6 +26,6 @@ class error_handler extends ErrorHandler
$handler($type, $message, $file, $line);
}
- return parent::handleError($type, $message, $file, $line, $context, $backtrace);
+ return parent::handleError($type, $message, $file, $line);
}
}