projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changing $use_costed_value to 1 instead of 0. Used in Inventory Valuation report.
[fa-stable.git]
/
includes
/
errors.inc
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()) {