quitening warnings, if charset is unknown (mb_convert_encoding), as it may happen, with parts of emails (header information, ...)

This commit is contained in:
Klaus Leithoff 2008-10-08 11:18:43 +00:00
parent 260ce05397
commit 8f6cf0ac8f

View File

@ -466,7 +466,7 @@ class translation
{
return utf8_decode($data);
}
if ($this->mbstring && mb_convert_encoding($data,$to,$from)!="")
if ($this->mbstring && @mb_convert_encoding($data,$to,$from)!="")
{
return @mb_convert_encoding($data,$to,$from);
}