From: Zoe Slattery Date: Fri, 5 Dec 2008 11:57:24 +0000 (+0000) Subject: bug #46731 modification to previous fix X-Git-Tag: php-5.4.0alpha1~191^2~4887 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90a4376f4d57f8a32e3e75876b456890ad5794a0;p=php bug #46731 modification to previous fix --- diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index b43a8bb2e6..56a041b2ea 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -3159,7 +3159,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; }