mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Fix warning when HTTP requests are made from outside of a class
This commit is contained in:
parent
dbb4d1716e
commit
99d7c3d733
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ class HTTP
|
|||
$next = $no + 1;
|
||||
if (isset($bt[$next]))
|
||||
{
|
||||
$log['called_method'] = $bt[$next]['class'].$bt[$next]['type'].$bt[$next]['function'];
|
||||
$log['called_method'] = ($bt[$next]['class'] ?? '') . ($bt[$next]['type'] ?? '') . ($bt[$next]['function'] ?? '');
|
||||
$log['backtrace'] = array_slice($bt, $next, 1);
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue