X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Ferrors.inc;h=83ccb6c0dae506594e377036eb08e1c268dd97d5;hb=916c3a6fd1dfd8dcf19ff5eb70e49b3bf3c5a338;hp=4bf5463f669c98ca607542a680d237edba21972f;hpb=6fc84e9d80eed7fa71a19b385801c0fbb15508d3;p=fa-stable.git diff --git a/includes/errors.inc b/includes/errors.inc index 4bf5463f..83ccb6c0 100644 --- 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");