typo
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 26 May 2004 13:24:55 +0000 (13:24 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 26 May 2004 13:24:55 +0000 (13:24 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7555 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_general.php

index 95ac4434c2a8f69135bb5674cae0020923f2352e..e6ce3ff15a318ff00dd83f558ac0bc56192e65cc 100755 (executable)
@@ -874,8 +874,8 @@ function _adaptAddress(&$aAddr,$k) {
    $sPersonal = (isset($aAddr[SQM_ADDR_PERSONAL]) && $aAddr[SQM_ADDR_PERSONAL]) ?
        $aAddr[SQM_ADDR_PERSONAL] : '';
    $sEmail = ($aAddr[SQM_ADDR_HOST]) ?
-       $aAddr[SQM_ADDR_HOST] . '@'.$aAddr[SQM_ADDR_HOST] :
-       $aAddr[SQM_ADDR_HOST];
+       $aAddr[SQM_ADDR_MAILBOX] . '@'.$aAddr[SQM_ADDR_HOST] :
+       $aAddr[SQM_ADDR_MAILBOX];
    $aAddr = array($sEmail,$sPersonal);
 }