X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Frfc822address.php;h=1225ed0ba4d8dc5ac2ca4312229030b2446684b4;hb=202bcbcc2b67c7c153db1b09b608b62beeba0496;hp=16885ababc3eab99de31bd0c75e83b8312e416d9;hpb=a22bed916179b43f14ef09e752c17767fd4c656c;p=squirrelmail.git diff --git a/functions/rfc822address.php b/functions/rfc822address.php index 16885aba..1225ed0b 100644 --- a/functions/rfc822address.php +++ b/functions/rfc822address.php @@ -1,13 +1,12 @@ mailbox && !$oAddr->personal)) { + $aAddr = end($aAddress); + if(!$aAddr || ((isset($aAddr)) && !$aAddr[SQM_ADDR_MAILBOX] && !$aAddr[SQM_ADDR_PERSONAL])) { $sEmail = $sGroup . ':;'; } $aAddress[] = _createAddressElement($aStack,$aComment,$sEmail);