summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2015-10-19 13:31:31 +0200
committerUrban Müller2015-10-19 13:31:31 +0200
commit9460c349f967928a168cbcf004fcbb8bbf1760d8 (patch)
treec79630526f3bc7d7ff09f5513ab8df949027bdf2
parent65cfeaef1fd38b5494238ea039655c7623d7b4cd (diff)
downloaditools-9460c349f967928a168cbcf004fcbb8bbf1760d8.tar.gz
itools-9460c349f967928a168cbcf004fcbb8bbf1760d8.tar.bz2
itools-9460c349f967928a168cbcf004fcbb8bbf1760d8.zip
show top level in direct calls of it_debug::backtrace
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index 6a4c387..89d5259 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -174,7 +174,7 @@ static function backtrace($p = array())
$p += array('levels' => 0, 'skiplevels'=> 0, 'skipfiles' => "###");
- foreach (array_slice(debug_backtrace(@constant('DEBUG_BACKTRACE_IGNORE_ARGS')), $p['skiplevels'] + 1) as $call)
+ foreach (array_slice(debug_backtrace(@constant('DEBUG_BACKTRACE_IGNORE_ARGS')), $p['skiplevels']) as $call)
{
if (($fn = $call['file']) && !it::match($p['skipfiles'], $call['file']))
{