projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
845b399
)
0003876: Notice: Trying to get property of non-object in C:\Apache24\htdocs\frontacco...
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 8 Jun 2017 09:31:28 +0000
(11:31 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 8 Jun 2017 09:31:28 +0000
(11:31 +0200)
includes/errors.inc
patch
|
blob
|
history
diff --git
a/includes/errors.inc
b/includes/errors.inc
index 2a1aedd9f9138afdd4ab5bd79c37fa67fbe1191a..c5414d60b92b26aca3d27fa8b641a5b7c2fd7421 100644
(file)
--- 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()) {