mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix warning in debug class if config doesn't exist
This commit is contained in:
parent
678495d69e
commit
ebe28cd884
1 changed files with 1 additions and 1 deletions
|
|
@ -718,7 +718,7 @@ class Debug
|
|||
{
|
||||
return self::$_enabled;
|
||||
}
|
||||
if (!self::$_config['enabled'])
|
||||
if (!is_array(self::$_config) || !self::$_config['enabled'])
|
||||
{
|
||||
return self::$_enabled = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue