From: pdontthink Date: Mon, 17 Jun 2013 20:27:22 +0000 (+0000) Subject: When using reply-all to reply to single-recipient message, make sure we still use... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6fac6196b6406355ebc2a2f7894d32d11516d7ba;p=squirrelmail.git When using reply-all to reply to single-recipient message, make sure we still use the original recipient git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14379 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index 89dc5603..6be4dff8 100644 --- a/src/compose.php +++ b/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; }