mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-05 16:33:34 +02:00
Merge pull request #5582 from paul999/ticket/16043
Make sure $phpbb_container is not null before trying to get anything …
This commit is contained in:
commit
6941b3934d
@ -3399,7 +3399,7 @@ function msg_handler($errno, $msg_text, $errfile, $errline)
|
||||
$log_text .= '<br /><br />BACKTRACE<br />' . $backtrace;
|
||||
}
|
||||
|
||||
if (defined('IN_INSTALL') || $phpbb_container->getParameter('debug.show_errors') || isset($auth) && $auth->acl_get('a_'))
|
||||
if (defined('IN_INSTALL') || ($phpbb_container != null && $phpbb_container->getParameter('debug.show_errors')) || isset($auth) && $auth->acl_get('a_'))
|
||||
{
|
||||
$msg_text = $log_text;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user