X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Fview_text.php;h=e1ddde570290a1c198e09618d4e8db1614b2ebfa;hp=9768caf5ee04ab86972837365bc5fa6f018c457f;hb=f498a104a0e1dd4bef4cc11b881e9b87481dba38;hpb=4124e322a75e3cee0db9026acc0bed4410371a88 diff --git a/src/view_text.php b/src/view_text.php index 9768caf5..e1ddde57 100644 --- a/src/view_text.php +++ b/src/view_text.php @@ -35,7 +35,7 @@ _("Viewing a text attachment") . " - "; echo ''. _("View message") . ''; - $dwnld_url = '../src/download.php?'. $QUERY_STRING.'&absolute_dl=1'; + $dwnld_url = '../src/download.php?'. $QUERY_STRING.'&absolute_dl=true'; echo '
'. _("Download this as a file"). "

". @@ -43,10 +43,9 @@ "". "
". "
"; - - if ($type1 == 'html') { + if ($type1 == 'html' || $override_type1 == 'html') { $msg = sqimap_get_message($imapConnection, $passed_id, $mailbox); - $msg = $msg->getEntity($passed_ent_id); + $msg = $msg->getEntity($ent_id); $body = MagicHTML( $body, $passed_id, $msg ); } else { translateText($body, $wrap_at, $charset);