forked from extern/egroupware
small addition to automaticaly deal with a not set system-charset
This commit is contained in:
parent
199fdc941f
commit
c7407b9ed1
@ -227,7 +227,7 @@
|
|||||||
*/
|
*/
|
||||||
function convert($data,$from='iso-8859-1',$to='utf-8')
|
function convert($data,$from='iso-8859-1',$to='utf-8')
|
||||||
{
|
{
|
||||||
if ($from == $to)
|
if ($from == $to || !$from || !$to)
|
||||||
{
|
{
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user