summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-14 17:33:11 +0000
committeralecpl <alec@alec.pl>2010-10-14 17:33:11 +0000
commitbd2e33f5f9b1bbade6106a89314273ea74e2b805 (patch)
treed74d1ada39cff80638451800c3848d77668798ca /program/steps
parenta9d6e7b30a8d582c193a8ba3a4c273405836d4c9 (diff)
- Don't try to match identity on reply when user has only one
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 80cc7d190..69d11921a 100644
--- a/program/steps/mail/compose.inc
+++ b/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