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:
168c5be
)
Fixed error handling (logged in debug instead of production mode).
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Wed, 31 Dec 2014 11:55:54 +0000
(12:55 +0100)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Wed, 31 Dec 2014 11:59:57 +0000
(12:59 +0100)
includes/errors.inc
patch
|
blob
|
history
diff --git
a/includes/errors.inc
b/includes/errors.inc
index 0e8b2578b1978d0e92f3fa5aca9bba8d93f2a67d..56574f32ab74fb0e862f3b1297046c22bcb76be9 100644
(file)
--- a/
includes/errors.inc
+++ b/
includes/errors.inc
@@
-196,7
+196,7
@@
function display_db_error($msg, $sql_statement=null, $exit=true)
}
$str .= "<br><br>";
- if ($go_debug)
+ if (
!
$go_debug)
error_log($str);
else {
if($msg)