From: stekkel Date: Thu, 30 May 2002 14:37:37 +0000 (+0000) Subject: change for new method of getting display entity X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=32c661f4796c4d3725be5602397faabac6d2dcf2;hp=0f859719f26e6c43fae96ae07d1f6a4504620f77;ds=sidebyside 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 --- 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" . " " .