summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2023-08-28 15:04:20 +0200
committerUrban Müller2023-08-28 15:04:55 +0200
commitfaf1e994daa144fbc3dcaea30c2647266a752636 (patch)
tree89d33f9646bf69e5f36ca2d6ad7ff126d78f865d /it_debug.class
parente70b53d3ef0991f3a09bc7fcaf070f27f2e4b83a (diff)
downloaditools-faf1e994daa144fbc3dcaea30c2647266a752636.tar.gz
itools-faf1e994daa144fbc3dcaea30c2647266a752636.tar.bz2
itools-faf1e994daa144fbc3dcaea30c2647266a752636.zip
handle inline errors, e.g. new $undefined in mail3464
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index b36c232..1c95acf 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -250,7 +250,7 @@ static function backtrace($p = array())
if ($frame['type'] == "->" || $frame['type'] == "::")
$funcs[] = $frame['class'] . $frame['type'] . $frame['function'] . "($allargs)";
else
- $funcs[] = $frame['function'] . "($allargs)";
+ $funcs[] = $frame['function'] ? $frame['function'] . "($allargs)" : "[inline]";
$maxlen = max(it::map('strlen', $locations));
}