From 32c661f4796c4d3725be5602397faabac6d2dcf2 Mon Sep 17 00:00:00 2001 From: stekkel Date: Thu, 30 May 2002 14:37:37 +0000 Subject: [PATCH] change for new method of getting display entity git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2910 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index cedc3432..2d6dc555 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -583,7 +583,9 @@ $dateString = getLongDateString($message->header->date); /** * What do we reply to -- text only, if possible */ -$ent_num = findDisplayEntity($message); +$ent_ar = findDisplayEntity($message); +/* first step in displaying multiple entities */ +$ent_num = $ent_ar[0]; /** TEXT STRINGS DEFINITIONS **/ $echo_more = _("more"); @@ -1071,11 +1073,10 @@ echo '' . ' ' . ''; flush(); - echo "\n" . "
\n" . '
'. - formatBody($imapConnection, $message, $color, $wrap_at). + formatBody($imapConnection, $message, $color, $wrap_at, $ent_num). '
' . '' . "\n" . " " . -- 2.25.1