Cleanup warning in message.inc.php.

This commit is contained in:
Retro_Guy 2023-07-16 11:36:06 -07:00
parent af2f9a65a2
commit bef40acbb6
1 changed files with 5 additions and 3 deletions

View File

@ -140,9 +140,11 @@ function message_parse($rawmessage) {
// if ($message->header->content_type[0]=="text/plain") { // if ($message->header->content_type[0]=="text/plain") {
$body=decode_body($body,$message->header->content_transfer_encoding); $body=decode_body($body,$message->header->content_transfer_encoding);
$body=recode_charset($body, if(isset($message->header->content_type_charset)) {
$message->header->content_type_charset[0], $body=recode_charset($body,
$www_charset); $message->header->content_type_charset[0],
$www_charset);
}
if ($body=="") $body=" "; if ($body=="") $body=" ";
// } // }
$message->body[0]=$body; $message->body[0]=$body;