From 79d5a50477ed74940484a5ca046dfa04adce1550 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 10 Aug 2015 19:01:25 +0200 Subject: empty array should not become null --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3