diff options
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -422,7 +422,7 @@ function any2utf8($value, $errmsg = "") if (is_string($v) || is_array($v)) $value[$idx] = self::any2utf8($v, $errmsg); } - else + else if (is_string($value)) { if (grapheme_strlen($value) === null) list($value, $error) = array(utf8_encode($value), utf8_encode("$errmsg: incorrect utf8-encoding. input=" . trim($value))); |