mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Fix warning error better then c7f84a178d
This commit is contained in:
parent
0f66507030
commit
be062e2133
3 changed files with 3 additions and 3 deletions
|
|
@ -270,7 +270,7 @@ class Debug
|
|||
|
||||
// Get the backtrace.
|
||||
$backtrace = debug_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS);
|
||||
if (count($backtrace) > 1 && $backtrace[1]['function'] === 'debugPrint' && !isset($backtrace[1]['class']))
|
||||
if (count($backtrace) > 1 && $backtrace[1]['function'] === 'debugPrint' && empty($backtrace[1]['class']))
|
||||
{
|
||||
array_shift($backtrace);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue