X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fmime.php;h=83b21bfea0ac34981897ca12be88e1084fc4687d;hp=1390dcfc2cda074d7fb033dfc479bc935e3c46d0;hb=9de421689de8b2540b33cc6005e371307be4e30f;hpb=6fbd125bd6a9b93f4426ded8ec23b4d6986c81bf diff --git a/functions/mime.php b/functions/mime.php index 1390dcfc..83b21bfe 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -32,42 +32,55 @@ function mime_structure ($bodystructure, $flags=array()) { $read = trim(substr ($read, 0, -1)); $res = $msg->parseStructure($read); $msg = $res[0]; + if (!is_object($msg)) { + include_once( '../functions/display_messages.php' ); + global $color, $mailbox; + displayPageHeader( $color, urldecode($mailbox) ); + echo "
\n\n" . + ''.$read.' |