From: Ilia Alshanetsky Date: Tue, 17 Jun 2003 14:13:25 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.3RC1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02af1ac1443672db9e38129f68183f38457cbe47;p=php MFH --- diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 2a2b231b26..72fe163088 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2725,7 +2725,7 @@ PHP_FUNCTION(imap_fetch_overview) 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->to) < MAILTMPLEN) { env->to->next = NULL; address[0] = '\0'; rfc822_write_address(address, env->to);