summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-14 17:33:11 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-14 17:33:11 +0000
commit2512b0f25480f5d598d0be1f292de7c0b7c354e2 (patch)
tree6c54282104e6394f863f20e6409431fd646555b9
parent7deaa6f92facaf0ca12e20715861c84691ca8d97 (diff)
- Don't try to match identity on reply when user has only one
git-svn-id: https://svn.roundcube.net/trunk@4095 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index 80cc7d190..69d11921a 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -460,7 +460,7 @@ function rcmail_compose_header_from($attrib)
$from_id = get_input_value('_from', RCUBE_INPUT_POST);
else if (!empty($_SESSION['compose']['param']['from']))
$from_id = $_SESSION['compose']['param']['from'];
- else {
+ else if (count($user_identities) > 1) {
$return_path = $MESSAGE->headers->others['return-path'];
// Set identity