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 | |
parent | 62fe548e08c64b8ff9689b1b1330a0faf0f4b784 (diff) |
Fix so Sender: address is added to Cc: field on reply to all (#1489011)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/steps/mail/compose.inc | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Fix so Sender: address is added to Cc: field on reply to all (#1489011) - Fix so addressbook_search_mode works also for group search (#1489079) - Fix removal of a contact from a group in LDAP addressbook (#1489081) - Inlcude SQL query in the log on SQL error (#1489064) 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))) { |