diff options
author | thomascube <thomas@roundcube.net> | 2005-10-11 21:11:42 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2005-10-11 21:11:42 +0000 |
commit | 520c36aa4c24ad3424b8fa3137b7576e6eacaf14 (patch) | |
tree | c14b4f621fb213f9fe71a8230ef8ac1f68a21aa0 /program/steps/mail/compose.inc | |
parent | 49afbf5d698eb7d57ae10a553b6dcb14117727dd (diff) |
Better support for Courier IMAP
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r-- | program/steps/mail/compose.inc | 7 |
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'])) |