phpBB

Code Changes

File: phpbb/debug/error_handler.php

  Unmodified   Added   Modified   Removed
Line 17Line 17

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)
{

Line 26Line 26
			$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);

	}
}


	}
}