diff options
author | Andrew Dolgov <[email protected]> | 2007-02-20 07:46:16 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-02-20 07:46:16 +0100 |
commit | 235a11b02655e1a9cf566bcc7056fa47aebf1695 (patch) | |
tree | 23d0678df49388ecad3d35b221b6994120783459 /functions.php | |
parent | 1f43d4194d1aecea9a9bf29ad7c921d941af6215 (diff) |
possible fix for invalid byte sequence error when processing tags
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index df2ec5880..ece96d147 100644 --- a/functions.php +++ b/functions.php @@ -775,7 +775,7 @@ $entry_int_id = db_fetch_result($result, 0, "int_id"); foreach ($entry_tags as $tag) { - $tag = db_escape_string(strtolower($tag)); + $tag = db_escape_string(mb_strtolower($tag)); $tag = str_replace("+", " ", $tag); $tag = str_replace("technorati tag: ", "", $tag); |