summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2015-08-10 19:01:25 +0200
committerUrban Müller2015-08-10 19:01:25 +0200
commit79d5a50477ed74940484a5ca046dfa04adce1550 (patch)
tree638cb6b477d80508c4dabb803518a5888bb678db
parent2e32e77ee60b599413903b3fbb7a4710b226dbfa (diff)
downloaditools-79d5a50477ed74940484a5ca046dfa04adce1550.tar.gz
itools-79d5a50477ed74940484a5ca046dfa04adce1550.tar.bz2
itools-79d5a50477ed74940484a5ca046dfa04adce1550.zip
empty array should not become null
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index e6f8006..c5c1179 100644
--- a/it.class
+++ b/it.class
@@ -430,7 +430,7 @@ static function any2utf8($value, $errprefix = "")
{
foreach ($value as $idx => $v)
$newarr[self::any2utf8($idx)] = is_string($v) || is_array($v) ? self::any2utf8($v, $errprefix) : $v;
- $value = $newarr;
+ $value = (array)$newarr;
}
else if (is_string($value))
{