summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 1c5d403..6f49195 100644
--- a/it.class
+++ b/it.class
@@ -161,7 +161,7 @@ static function error($p = array(), $extra = null)
$p['title'] = grapheme_substr($p['title'], 0, 2000);
if ($extra)
- it::error('extraneous params passed to it::error');
+ $p = ['title' => 'extraneous params passed to it::error', 'fatal' => $p['fatal']];
foreach (array_slice(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 10), 1) as $level)
if ($level["class"] . $level["type"] . $level["function"] == "it::error")