mirror of
https://github.com/php/php-src.git
synced 2024-09-26 20:37:29 +00:00
- ws
This commit is contained in:
parent
f012ff613e
commit
7c350613c8
@ -2198,7 +2198,6 @@ PHP_FUNCTION(imap_fetchstructure)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
||||
ZEND_FETCH_RESOURCE(imap_le_struct, pils *, &streamind, -1, "imap", le_imap);
|
||||
|
||||
if (msgno < 1) {
|
||||
@ -2977,13 +2976,11 @@ PHP_FUNCTION(imap_fetchheader)
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (flags && ((flags & ~(FT_UID|FT_INTERNAL|FT_PREFETCHTEXT)) != 0)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
||||
ZEND_FETCH_RESOURCE(imap_le_struct, pils *, &streamind, -1, "imap", le_imap);
|
||||
|
||||
if ((argc == 3) && (flags & FT_UID)) {
|
||||
@ -3220,7 +3217,7 @@ PHP_FUNCTION(imap_fetch_overview)
|
||||
return;
|
||||
}
|
||||
|
||||
if (flags && ((flags & ~FT_UID) != 0)) {
|
||||
if (flags && ((flags & ~FT_UID) != 0)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid value for the options parameter");
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user