MINOR: Blog tag now supports multibyte chars in the front-end. Thanks to hex0id.

This commit is contained in:
phalkunz 2011-01-20 13:38:28 +13:00
parent c3415b6697
commit e2f088e1e8
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class TagCloudWidget extends Widget {
if($entries) {
foreach($entries as $entry) {
$theseTags = split(" *, *", strtolower(trim($entry->Tags)));
$theseTags = split(" *, *", mb_strtolower(trim($entry->Tags)));
foreach($theseTags as $tag) {
if($tag != "") {
$allTags[$tag] = isset($allTags[$tag]) ? $allTags[$tag] + 1 : 1; //getting the count into key => value map