summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2009-04-02 16:41:27 +0000
committerUrban Müller2009-04-02 16:41:27 +0000
commitfb5213cdc042076d04a7725d2095c99cd06315c7 (patch)
tree3deb6d89f95ba79e4104958c147b00fae30c6180 /it_html.class
parent13d899093ffd3d1d9e789ddce7a1cb43114bc714 (diff)
downloaditools-fb5213cdc042076d04a7725d2095c99cd06315c7.tar.gz
itools-fb5213cdc042076d04a7725d2095c99cd06315c7.tar.bz2
itools-fb5213cdc042076d04a7725d2095c99cd06315c7.zip
3 stacklevels minimum
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class
index 61f291a..b526bcf 100644
--- a/it_html.class
+++ b/it_html.class
@@ -260,7 +260,7 @@ function _tag($name, $args)
# debugging aid: add backtrace
if (($levels = intval($GLOBALS['debug_srclines'])) && !it::match('^(head|meta|title|script)', $name))
- $attr = array('title' => it_debug::backtrace(array('levels' => $levels, 'skipfiles' => "_html\\.class"))) + $attr;
+ $attr = array('title' => it_debug::backtrace(array('levels' => max(3, $levels), 'skipfiles' => "_html\\.class"))) + $attr;
$result .= "<$name";