summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorNathan Gass2022-09-29 15:58:40 +0200
committerNathan Gass2022-09-29 15:58:40 +0200
commit1d3c9c36e615598fe84e813dfa920616c6d19204 (patch)
tree989c2f084859b0bc48055769580c838c36e0fb35 /it_debug.class
parentface65de2254eb40ddcfd93f8d12dc1c0582a130 (diff)
downloaditools-1d3c9c36e615598fe84e813dfa920616c6d19204.tar.gz
itools-1d3c9c36e615598fe84e813dfa920616c6d19204.tar.bz2
itools-1d3c9c36e615598fe84e813dfa920616c6d19204.zip
skip calls without info as before
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class3
1 files changed, 2 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index efbf7cc..3361933 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -227,7 +227,8 @@ static function backtrace($p = array())
{
$fn = $call['file'];
$fn = (it::match('auto_prepend', $fn) ? basename(dirname(dirname($fn))) . "/" : (it::match('/(cgi|bin)/', $fn) ? basename(dirname($fn)) . "/" : "")) . basename($fn);
- $result[] = $fn . ":" . $call['line'];
+ if ($fn)
+ $result[] = $fn . ":" . $call['line'];
}
return implode(" ", (array)$result);