Fixed bug [0000139] in bank account edition.
[fa-stable.git] / includes / errors.inc
index 4bf5463f669c98ca607542a680d237edba21972f..83ccb6c0dae506594e377036eb08e1c268dd97d5 100644 (file)
@@ -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");