summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-12-08 07:36:26 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-12-08 07:36:26 +0000
commitc4722bb337f8a059a04e853065524dcca3fe678a (patch)
tree3d8a48e33c1f91b1a6fcf2fa808b8001913d24a6 /roundcubemail/program/steps/mail/compose.inc
parent3e3452bc76ad6ddad37ffbd3b3547d1b07c5d595 (diff)
- Fix empty sender in reply prefix (#1487454)
git-svn-id: https://svn.roundcube.net/trunk@4319 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/compose.inc')
-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 828a94f3b..8358559a6 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/program/steps/mail/compose.inc
@@ -742,7 +742,7 @@ function rcmail_create_reply_body($body, $bodyIsHtml)
// build reply prefix
$from = array_pop($RCMAIL->imap->decode_address_list($MESSAGE->get_header('from')));
$prefix = sprintf("On %s, %s wrote:",
- $MESSAGE->headers->date, $from['name'] ? $from['name'] : idn_to_utf8($from['email']));
+ $MESSAGE->headers->date, $from['name'] ? $from['name'] : idn_to_utf8($from['mailto']));
if (!$bodyIsHtml) {
$body = preg_replace('/\r?\n/', "\n", $body);