mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/15504] Fix warning message
PHPBB3-15504
This commit is contained in:
parent
7c839470b7
commit
cc4a68f32a
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ use Symfony\Component\Debug\ErrorHandler;
|
||||||
|
|
||||||
class error_handler extends 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)
|
if ($type === E_USER_WARNING || $type === E_USER_NOTICE)
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,6 @@ class error_handler extends ErrorHandler
|
||||||
$handler($type, $message, $file, $line);
|
$handler($type, $message, $file, $line);
|
||||||
}
|
}
|
||||||
|
|
||||||
return parent::handleError($type, $message, $file, $line, $context, $backtrace);
|
return parent::handleError($type, $message, $file, $line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue