Skip to content

Commit

Permalink
use correct value of DEBUG_BACKTRACE_IGNORE_ARGS
Browse files Browse the repository at this point in the history
  • Loading branch information
kktsvetkov committed Dec 28, 2020
1 parent 2ca53ac commit 934a93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class.krumo.php
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ static function dump($data)

// find caller
//
$trace = debug_backtrace(1); // "1" is DEBUG_BACKTRACE_IGNORE_ARGS
$trace = debug_backtrace(2); // "2" is DEBUG_BACKTRACE_IGNORE_ARGS
while($d = array_pop($trace))
{
if (0 === strcasecmp($d['function'], 'krumo'))
Expand Down

0 comments on commit 934a93a

Please sign in to comment.