diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-01 10:40:46 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-01 10:41:18 +0200 |
commit | 9b82062f5a5e439edd0a7a3b352ce8159b3aa797 (patch) | |
tree | a62320ea689784a32dcc5e289f9abac6b0878d4b /program | |
parent | 62fe548e08c64b8ff9689b1b1330a0faf0f4b784 (diff) |
Fix so Sender: address is added to Cc: field on reply to all (#1489011)
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/compose.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 415ddeb74..b0591d085 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -318,6 +318,8 @@ foreach ($parts as $header) { $fvalue .= $v; if ($v = $MESSAGE->headers->cc) $fvalue .= (!empty($fvalue) ? $separator : '') . $v; + if ($v = $MESSAGE->headers->get('Sender', false)) + $fvalue .= (!empty($fvalue) ? $separator : '') . $v; } } else if (in_array($compose_mode, array(RCUBE_COMPOSE_DRAFT, RCUBE_COMPOSE_EDIT))) { |