summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-11 21:11:42 +0000
committerthomascube <thomas@roundcube.net>2005-10-11 21:11:42 +0000
commit520c36aa4c24ad3424b8fa3137b7576e6eacaf14 (patch)
treec14b4f621fb213f9fe71a8230ef8ac1f68a21aa0 /program/steps/mail/compose.inc
parent49afbf5d698eb7d57ae10a553b6dcb14117727dd (diff)
Better support for Courier IMAP
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 03f508be8..f65e4ff7b 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -403,7 +403,12 @@ function rcmail_compose_subject($attrib)
// create a reply-subject
else if (isset($REPLY_MESSAGE['subject']))
- $subject = 'Re: '.$REPLY_MESSAGE['subject'];
+ {
+ if (strpos($REPLY_MESSAGE['subject'], 'Re:')===0)
+ $subject = $REPLY_MESSAGE['subject'];
+ else
+ $subject = 'Re: '.$REPLY_MESSAGE['subject'];
+ }
// create a forward-subject
else if (isset($FORWARD_MESSAGE['subject']))