diff options
author | Zeev Suraski <zeev@php.net> | 2001-11-24 15:32:00 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-11-24 15:32:00 +0000 |
commit | 9950eaecd702af7092f1e815bd64ae1433fd5ed6 (patch) | |
tree | c0af4547992c4bfd2151abb28eedebcdbd7e8c9a | |
parent | a3ef7170b1d443dee96f1166ef910a8a4e0f84a6 (diff) | |
download | php-git-9950eaecd702af7092f1e815bd64ae1433fd5ed6.tar.gz |
Honor error_reporting (in general and @ in particular) for IMAP notices
-rw-r--r-- | ext/imap/php_imap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 7d2bb5c12f..ddd456e53b 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -4078,6 +4078,9 @@ void mm_log(char *str, long errflg) TSRMLS_FETCH(); /* Author: CJH */ + if (!(EG(error_reporting) & E_NOTICE)) { + return; + } if (errflg != NIL) { /* CJH: maybe put these into a more comprehensive log for debugging purposes? */ if (IMAPG(imap_errorstack) == NIL) { IMAPG(imap_errorstack) = mail_newerrorlist(); |