summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorChristian Helbling2015-11-16 15:20:03 +0100
committerChristian Helbling2015-11-16 15:20:03 +0100
commit2587921cdf5f9139c6f2483dddb12df27740fef5 (patch)
treeb67941b93eda2490800efafd1f5410bdd754bf16 /it_debug.class
parentbabb09e211e93c6236bc19e60a4f649e573a6f4e (diff)
parent3b4aeabd9186666e025d3233f06f7458356bfc37 (diff)
downloaditools-2587921cdf5f9139c6f2483dddb12df27740fef5.tar.gz
itools-2587921cdf5f9139c6f2483dddb12df27740fef5.tar.bz2
itools-2587921cdf5f9139c6f2483dddb12df27740fef5.zip
Merge branch 'master' into cs/php7
Diffstat (limited to 'it_debug.class')
-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']))
{