mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #6237 from DavidIQ/ticket/16808
[ticket/16808] Make sure we have a container before using it
This commit is contained in:
commit
a18681cfe4
1 changed files with 1 additions and 1 deletions
|
@ -2996,7 +2996,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
|||
|
||||
// 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 & ($phpbb_container->getParameter('debug.show_errors') ? E_ALL : error_reporting())) == 0)
|
||||
if (($errno & ($phpbb_container != null && $phpbb_container->getParameter('debug.show_errors') ? E_ALL : error_reporting())) == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue