improved utf8 array conversion

This commit is contained in:
Steffen Schröder 2014-06-26 11:18:00 +02:00
parent 73148364e0
commit 1a021c0189

View File

@ -181,7 +181,11 @@ abstract class Formatter {
if (is_array($text)) {
$newArray = array();
foreach ($text as $key => $value) {
if (is_string($value)) {
$newArray[$key] = self::utf8($value);
} else {
$newArray[$key] = $value;
}
}
return $newArray;
}