diff options
author | Zoe Slattery <zoe@php.net> | 2008-12-03 16:52:04 +0000 |
---|---|---|
committer | Zoe Slattery <zoe@php.net> | 2008-12-03 16:52:04 +0000 |
commit | c9fff9cc2dfb468a8f0215fe0fb097badae1a28f (patch) | |
tree | 0e20115c1cb19feef988688ce1c1032016d21edf /ext/imap/php_imap.c | |
parent | 3c227429b28178fbaa431941c3c76d2e71093d20 (diff) | |
download | php-git-c9fff9cc2dfb468a8f0215fe0fb097badae1a28f.tar.gz |
bug #46731 modification to previous fix
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r-- | ext/imap/php_imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 8668ffb057..1c3347fb2f 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -3174,7 +3174,7 @@ PHP_FUNCTION(imap_fetch_overview) return; } - if (flags && !(flags & FT_UID)) { + if (flags && ((flags & ~FT_UID) !=0)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter"); RETURN_FALSE; } |