Skip to content

Commit

Permalink
0003876: Notice: Trying to get property of non-object in C:\Apache24\…
Browse files Browse the repository at this point in the history
…htdocs\frontaccounting\includes\errors.inc on line 74
  • Loading branch information
joe-hunt committed Jun 8, 2017
1 parent 845b399 commit 020d309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/errors.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

1 comment on commit 020d309

@apmuthu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contributor:
cambell-prince@09cb3df

Please sign in to comment.