mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed a typo in the check
This commit is contained in:
parent
cadc8a15f9
commit
4426338bf6
1 changed files with 2 additions and 2 deletions
|
@ -2749,13 +2749,13 @@ PHP_FUNCTION(imap_fetch_overview)
|
|||
if (env->subject) {
|
||||
add_property_string(myoverview, "subject", env->subject, 1);
|
||||
}
|
||||
if (env->from && _php_imap_address_size(env->from) >= MAILTMPLEN) {
|
||||
if (env->from && _php_imap_address_size(env->from) < MAILTMPLEN) {
|
||||
env->from->next=NULL;
|
||||
address[0] = '\0';
|
||||
rfc822_write_address(address, env->from);
|
||||
add_property_string(myoverview, "from", address, 1);
|
||||
}
|
||||
if (env->to && _php_imap_address_size(env->from) >= MAILTMPLEN) {
|
||||
if (env->to && _php_imap_address_size(env->from) < MAILTMPLEN) {
|
||||
env->to->next = NULL;
|
||||
address[0] = '\0';
|
||||
rfc822_write_address(address, env->to);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue