projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59895a2
)
Php notices removed form error logoing to avoid flood from @ constructs.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sat, 20 Jun 2009 12:13:48 +0000
(12:13 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sat, 20 Jun 2009 12:13:48 +0000
(12:13 +0000)
includes/errors.inc
patch
|
blob
|
history
diff --git
a/includes/errors.inc
b/includes/errors.inc
index 4bf5463f669c98ca607542a680d237edba21972f..83ccb6c0dae506594e377036eb08e1c268dd97d5 100644
(file)
--- a/
includes/errors.inc
+++ b/
includes/errors.inc
@@
-27,7
+27,7
@@
function error_handler($errno, $errstr, $file, $line) {
// error_reporting==0 when messages are set off with @
if ($errno & error_reporting())
$messages[] = array($errno, $errstr, $file, $line);
- else // log all not displayed messages
+ else
if($errno&~E_NOTICE)
// log all not displayed messages
error_log(user_company() . ':' . $_SESSION["wa_current_user"]->loginname.':'
. basename($file) .":$line: $errstr");