From 2512b0f25480f5d598d0be1f292de7c0b7c354e2 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 14 Oct 2010 17:33:11 +0000 Subject: - 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 --- roundcubemail/program/steps/mail/compose.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3