diff options
author | Nathan Gass | 2022-09-29 15:58:40 +0200 |
---|---|---|
committer | Nathan Gass | 2022-09-29 15:58:40 +0200 |
commit | 1d3c9c36e615598fe84e813dfa920616c6d19204 (patch) | |
tree | 989c2f084859b0bc48055769580c838c36e0fb35 | |
parent | face65de2254eb40ddcfd93f8d12dc1c0582a130 (diff) | |
download | itools-1d3c9c36e615598fe84e813dfa920616c6d19204.tar.gz itools-1d3c9c36e615598fe84e813dfa920616c6d19204.tar.bz2 itools-1d3c9c36e615598fe84e813dfa920616c6d19204.zip |
skip calls without info as before
-rw-r--r-- | it_debug.class | 3 |
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); |