When using reply-all to reply to single-recipient message, make sure we still use...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Jun 2013 20:27:22 +0000 (20:27 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Jun 2013 20:27:22 +0000 (20:27 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14379 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index 89dc5603c4f626d6d01683ef3f227ad68d0788d4..6be4dff8af8e82694de091252b9ff43d5c8dcc04 100644 (file)
@@ -1002,8 +1002,8 @@ function newMail ($mailbox='', $passed_id='', $passed_ent_id='', $action='', $se
                             // the recipient (TO field) (as long as the CC field
                             // isn't empty that is) and we're done
                             //
-                            if ($action == 'reply_all') {
-                                if (!empty($send_to_cc)) $send_to = '';
+                            if ($action == 'reply_all' && !empty($send_to_cc)) {
+                                $send_to = '';
                                 break;
                             }