diff options
author | Andrew Dolgov <[email protected]> | 2013-08-09 09:19:57 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-08-09 09:19:57 +0400 |
commit | 3eb55333c617f21714d691f0a393af5083ec464b (patch) | |
tree | 9497540c97039df61b48c8f0d213bd490cf91f17 /include/functions.php | |
parent | 05a1939bbdc1f3935ed03a37c722dcbf234ad80c (diff) |
do not use iconv in tag_is_valid, data should be utf8 anyway at this point; remove sanity check for iconv because parser does not use it
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/functions.php b/include/functions.php index 6bc52e9d9..f447d06f5 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3039,10 +3039,6 @@ if (preg_match("/^[0-9]*$/", $tag)) return false; if (mb_strlen($tag) > 250) return false; - if (function_exists('iconv')) { - $tag = iconv("utf-8", "utf-8", $tag); - } - if (!$tag) return false; return true; |