diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-10 00:13:39 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-10 00:13:39 +0000 |
commit | 99b7cdeee1713939d739435de1997149a4ceb886 (patch) | |
tree | 859832485fec29f3211ffe6aee83c9a01f3106db | |
parent | 3969145a366d7569a20df7be64bb0f35683ebe8f (diff) |
Fix a copy/paste typo.
-rw-r--r-- | modules/tag/helpers/tag_event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php index 26f157a6..2ce0ff25 100644 --- a/modules/tag/helpers/tag_event.php +++ b/modules/tag/helpers/tag_event.php @@ -34,7 +34,7 @@ class tag_event_Core { if (!empty($iptc["2#025"])) { foreach($iptc["2#025"] as $tag) { $tag = str_replace("\0", "", $tag); - if (function_exists("mb_detect_encoding") && mb_detect_encoding($value) != "UTF-8") { + if (function_exists("mb_detect_encoding") && mb_detect_encoding($tag) != "UTF-8") { $tag = utf8_encode($tag); } $tags[$tag] = 1; |