mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
quitening warnings, if charset is unknown (mb_convert_encoding), as it may happen, with parts of emails (header information, ...)
This commit is contained in:
parent
260ce05397
commit
8f6cf0ac8f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user