diff options
author | Urban Müller | 2015-08-10 19:01:25 +0200 |
---|---|---|
committer | Urban Müller | 2015-08-10 19:01:25 +0200 |
commit | 79d5a50477ed74940484a5ca046dfa04adce1550 (patch) | |
tree | 638cb6b477d80508c4dabb803518a5888bb678db /it.class | |
parent | 2e32e77ee60b599413903b3fbb7a4710b226dbfa (diff) | |
download | itools-79d5a50477ed74940484a5ca046dfa04adce1550.tar.gz itools-79d5a50477ed74940484a5ca046dfa04adce1550.tar.bz2 itools-79d5a50477ed74940484a5ca046dfa04adce1550.zip |
empty array should not become null
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) { |