diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |