mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix first line of backtrace missing in query error display
This commit is contained in:
parent
d544365399
commit
393c847cee
3 changed files with 3 additions and 3 deletions
|
|
@ -1269,7 +1269,7 @@ class DB
|
|||
if (isset($backtrace[$no]))
|
||||
{
|
||||
$result['called_method'] = ($backtrace[$no]['class'] ?? '') . ($backtrace[$no]['type'] ?? '') . ($backtrace[$no]['function'] ?? '');
|
||||
$result['backtrace'] = $this->_debug_full_stack ? array_slice($backtrace, $no) : [];
|
||||
$result['backtrace'] = $this->_debug_full_stack ? array_slice($backtrace, $no - 1) : [];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue