git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14391
7612ce4b-ef26-0410-bec9-
ea0150e637f0
// if this is a reply-all, the original recipient
// is already in the CC field, so we can just blank
// the recipient (TO field) (as long as the CC field
- // isn't empty that is) and we're done
+ // isn't empty that is)... but then move the CC into
+ // the TO, so TO isn't empty
//
if ($action == 'reply_all' && !empty($send_to_cc)) {
- $send_to = '';
+ $orig_to = $send_to_cc;
+ $send_to_cc = '';
break;
}