summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index a800a6a83..4d3e8c7b6 100644
--- a/functions.php
+++ b/functions.php
@@ -4503,7 +4503,10 @@
if ($tag == '') return false;
if (preg_match("/^[0-9]*$/", $tag)) return false;
- $tag = iconv("utf-8", "utf-8", $tag);
+ if (function_exists('iconv')) {
+ $tag = iconv("utf-8", "utf-8", $tag);
+ }
+
if (!$tag) return false;
return true;