From af084f6ee1c0b532143f616f2b4fc490a4cb3cae Mon Sep 17 00:00:00 2001 From: kink Date: Wed, 24 Jan 2007 14:50:31 +0000 Subject: [PATCH] misspelled reply_to and in_reply_to attributes git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12200 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/mime/Message.class.php | 6 +++--- src/compose.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/class/mime/Message.class.php b/class/mime/Message.class.php index 569cd67f..4bfa29c0 100644 --- a/class/mime/Message.class.php +++ b/class/mime/Message.class.php @@ -615,17 +615,17 @@ class Message { if (count($arg_a) > 9) { $d = strtr($arg_a[0], array(' ' => ' ')); $d = explode(' ', $d); - if (!$arg_a[1]) $arg_a[1] = _("(no subject)"); + if (!$arg_a[1]) $arg_a[1] = _("(no subject)"); $hdr->date = getTimeStamp($d); /* argument 1: date */ $hdr->subject = $arg_a[1]; /* argument 2: subject */ $hdr->from = is_array($arg_a[2]) ? $arg_a[2][0] : ''; /* argument 3: from */ $hdr->sender = is_array($arg_a[3]) ? $arg_a[3][0] : ''; /* argument 4: sender */ - $hdr->replyto = is_array($arg_a[4]) ? $arg_a[4][0] : ''; /* argument 5: reply-to */ + $hdr->reply_to = is_array($arg_a[4]) ? $arg_a[4][0] : ''; /* argument 5: reply-to */ $hdr->to = $arg_a[5]; /* argument 6: to */ $hdr->cc = $arg_a[6]; /* argument 7: cc */ $hdr->bcc = $arg_a[7]; /* argument 8: bcc */ - $hdr->inreplyto = $arg_a[8]; /* argument 9: in-reply-to */ + $hdr->in_reply_to = $arg_a[8]; /* argument 9: in-reply-to */ $hdr->message_id = $arg_a[9]; /* argument 10: message-id */ } return $hdr; diff --git a/src/compose.php b/src/compose.php index f42426a4..bc4d5667 100644 --- a/src/compose.php +++ b/src/compose.php @@ -147,8 +147,8 @@ function replyAllString($header) { /** * 1) Remove the addresses we'll be sending the message 'to' */ - if (isset($header->replyto)) { - $excl_ar = $header->getAddr_a('replyto'); + if (isset($header->reply_to)) { + $excl_ar = $header->getAddr_a('reply_to'); } /** * 2) Remove our identities from the CC list (they still can be in the -- 2.25.1