From 6fac6196b6406355ebc2a2f7894d32d11516d7ba Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 17 Jun 2013 20:27:22 +0000 Subject: [PATCH] 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 --- src/compose.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.25.1