Skip to content

Commit c9fff9c

Browse files
author
Zoe Slattery
committed
bug #46731 modification to previous fix
1 parent 3c22742 commit c9fff9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/imap/php_imap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3174,7 +3174,7 @@ PHP_FUNCTION(imap_fetch_overview)
31743174
return;
31753175
}
31763176

3177-
if (flags && !(flags & FT_UID)) {
3177+
if (flags && ((flags & ~FT_UID) !=0)) {
31783178
php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
31793179
RETURN_FALSE;
31803180
}

0 commit comments

Comments
 (0)