fix wrong class::function call

This commit is contained in:
Klaus Leithoff 2011-06-29 09:21:04 +00:00
parent 09bf4690e1
commit b60be9c82c

View File

@ -1196,6 +1196,7 @@
exit;
}
function &getdisplayableBody($_bodyParts)
{
$bodyParts = $_bodyParts;
@ -1261,7 +1262,7 @@
if ($test=="null" && strlen($singleBodyPart['body'])>0)
{
// this should not be needed, unless something fails with charset detection/ wrong charset passed
error_log(__METHOD__.__LINE__.' Charset Reported:'.$singleBodyPart['charSet'].' Carset Detected:'.felamimail_bo::detect_encoding($singleBodyPart['body']));
error_log(__METHOD__.__LINE__.' Charset Reported:'.$singleBodyPart['charSet'].' Carset Detected:'.bofelamimail::detect_encoding($singleBodyPart['body']));
$singleBodyPart['body'] = utf8_encode($singleBodyPart['body']);
}
}