diff options
author | Urban Müller | 2009-04-02 16:41:27 +0000 |
---|---|---|
committer | Urban Müller | 2009-04-02 16:41:27 +0000 |
commit | fb5213cdc042076d04a7725d2095c99cd06315c7 (patch) | |
tree | 3deb6d89f95ba79e4104958c147b00fae30c6180 | |
parent | 13d899093ffd3d1d9e789ddce7a1cb43114bc714 (diff) | |
download | itools-fb5213cdc042076d04a7725d2095c99cd06315c7.tar.gz itools-fb5213cdc042076d04a7725d2095c99cd06315c7.tar.bz2 itools-fb5213cdc042076d04a7725d2095c99cd06315c7.zip |
3 stacklevels minimum
-rw-r--r-- | it_html.class | 2 |
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"; |