diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-16 17:01:50 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-16 17:01:50 +0000 |
| commit | 66294dadb967cbcea669487fa2a3e5d52302e8d0 (patch) | |
| tree | 5e648ab9b6b98677b17e6d588d40bc746e350122 | |
| parent | 4ea8075f7437ee8ca5f96a1054f28d7ae932bb97 (diff) | |
allow reply to yourself only in To field
git-svn-id: https://svn.roundcube.net/trunk@2161 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/steps/mail/compose.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 6a8086002..9dc207203 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -194,7 +194,7 @@ function rcmail_compose_headers($attrib) && !in_array($addr_part['mailto'], $sa_recipients) && (!$MESSAGE->compose_from || !in_array_nocase($addr_part['mailto'], $MESSAGE->compose_from) - || count($to_addresses)==1)) // allow reply to yourself + || (count($to_addresses)==1 && $header=='to'))) // allow reply to yourself { $fvalue .= (strlen($fvalue) ? ', ':'').$addr_part['string']; $sa_recipients[] = $addr_part['mailto']; |
