X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fmime.php;h=76faea0ad55db650ec6e6e5ef77fc0930f706884;hb=c25f2fbb684d684604ba069f6a20302c207561b5;hp=dbd1bbd5606c8c75b37f8690368c0c0cf4f52149;hpb=fb69468112601468596fa23e00f247ac622f7770;p=squirrelmail.git diff --git a/functions/mime.php b/functions/mime.php index dbd1bbd5..76faea0a 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -1,51 +1,52 @@ parseStructure($read); - $msg = $res[0]; + $i = 0; + $msg = Message::parseStructure($read,$i); if (!is_object($msg)) { include_once(SM_PATH . 'functions/display_messages.php'); global $color, $mailbox; - displayPageHeader( $color, urldecode($mailbox) ); - echo "
\n\n" . - '' . htmlspecialchars($read) . ' |
' . htmlspecialchars($read) . ''; plain_error_message( $errormessage, $color ); echo '