Cleanup warning in message.inc.php.
This commit is contained in:
parent
af2f9a65a2
commit
bef40acbb6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue