X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Ferrors.inc;h=c5414d60b92b26aca3d27fa8b641a5b7c2fd7421;hb=4fb55e726607d40a22272c0c432c3df8b422b447;hp=2a1aedd9f9138afdd4ab5bd79c37fa67fbe1191a;hpb=95ff74b5722826544743a01daf527aa3c9efe11a;p=fa-stable.git diff --git a/includes/errors.inc b/includes/errors.inc index 2a1aedd9..c5414d60 100644 --- a/includes/errors.inc +++ b/includes/errors.inc @@ -71,7 +71,7 @@ function error_handler($errno, $errstr, $file, $line) { } } - $bt = $SysPrefs->go_debug>1 ? get_backtrace(true, 1) : array(); + $bt = isset($SysPrefs) && $SysPrefs->go_debug>1 ? get_backtrace(true, 1) : array(); // error_reporting==0 when messages are set off with @ if ($errno & error_reporting()) {