From 2a9fe38e75a5a991981c5e6f4aa2e6f43c392b36 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 30 Nov 2015 14:02:24 +0100 Subject: adapt to new stackdump offsets --- it.class | 4 +--- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3