summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class4
1 files changed, 1 insertions, 3 deletions
diff --git a/it.class b/it.class
index d44d502..8159dd5 100644
--- a/it.class
+++ b/it.class
@@ -262,9 +262,7 @@ static function error($p = array())
*/
static function fatal($p)
{
- $p = is_array($p) ? $p : array('title' => $p);
- $p['backtraceskip']++;
- it::error($p);
+ it::error(array('backtraceskip' => 2) + (is_array($p) ? $p : array('title' => $p)));
if ($_SERVER['REMOTE_ADDR'])
header("HTTP/1.0 500 Internal Server Error");
exit(99);