From 2c4ce09e20cf49bfb994a8aaf550429de9aaba15 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 10 May 2023 09:25:00 +0200 Subject: Fix typo in medium backtrace causing FATAL --- it_debug.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ? "}" :"")); } -- cgit v1.2.3