Browse Source

When using reply-all to reply to single-recipient message, make sure we still use the original recipient

pdontthink 12 years ago
parent
commit
1dac7861bd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/compose.php

+ 2 - 2
src/compose.php

@@ -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;
                             }