Fix alternate identities matching on reply
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 15 Oct 2008 20:18:01 +0000 (20:18 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 15 Oct 2008 20:18:01 +0000 (20:18 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13306 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index 8ff63932e88855c5bb1bf7615a2aa48f044df9fd..37a2887c1127167e974167b211958b7d23d2e680 100644 (file)
@@ -845,7 +845,8 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
                 $enc_from_name = '"'.$data['full_name'].'" <'. $data['email_address'].'>';
                 if(strtolower($enc_from_name) == strtolower($orig_from)) {
                     $identity = $nr;
-                    break;
+                    // don't stop!  need to build $identities array for idents match below
+                    //break;
                 }
                 $identities[] = $enc_from_name;
             }