From 3df8bdf87d233254db931b9d91a26b33c8e36aa8 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 25 Jul 2016 17:18:48 +0200 Subject: prevent useless auto_prepend.php:ED() stack frame --- it_debug.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_debug.class') diff --git a/it_debug.class b/it_debug.class index 2c08e4b..7f51172 100644 --- a/it_debug.class +++ b/it_debug.class @@ -152,7 +152,7 @@ static function dump($args) $r = str_repeat(" ", count(debug_backtrace(@constant('DEBUG_BACKTRACE_IGNORE_ARGS')))-3) . $r; # not it_html::Q(); we dont wanna load it_html in ultraclassloader debugging - $title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 1)), ENT_COMPAT, "ISO-8859-1"); + $title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 2)), ENT_COMPAT, "ISO-8859-1"); # skip this func as well as ED()/EDX() if ($htmlok) return "
$r\n"; -- cgit v1.2.3