summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorChristian Schneider2023-05-10 09:25:00 +0200
committerChristian Schneider2023-05-10 09:25:00 +0200
commit2c4ce09e20cf49bfb994a8aaf550429de9aaba15 (patch)
treec28f37f0ca15a271549e8a6fc1207db929c8cfe8 /it_debug.class
parent2733df892be5436599ba56f60c484f0f4fe9401f (diff)
downloaditools-2c4ce09e20cf49bfb994a8aaf550429de9aaba15.tar.gz
itools-2c4ce09e20cf49bfb994a8aaf550429de9aaba15.tar.bz2
itools-2c4ce09e20cf49bfb994a8aaf550429de9aaba15.zip
Fix typo in medium backtrace causing FATAL
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 8f2c441..fa4cbd9 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -241,7 +241,7 @@ static function backtrace($p = array())
$argstrings = [];
foreach ($frame['args'] as $arg)
{
- $t = trim(it::replace(['^array \(\s*' => "[", ',\n\)$' => "]", " +" => " ", "\n" => "", var_export($arg, true)]), " ,");
+ $t = trim(it::replace(['^array \(\s*' => "[", ',\n\)$' => "]", " +" => " ", "\n" => ""], var_export($arg, true)), " ,");
$argstrings[] = strlen($t) < 80 ? $t : it::replace(["(.{0,60} |.{0,60}).*" => '$1'], $t) . "..." . (is_array($arg) ? "]" : (is_object($arg) ? "}" :""));
}