summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunostar <unostar@danalan.info>2009-06-12 10:39:35 -0700
committerunostar <unostar@danalan.info>2009-06-12 10:39:35 -0700
commitf15b4a5f35eed6fde3b675126341c68992a26c11 (patch)
tree356a5eff6c5e5129381c31e8acc327c9dc4d6b89
parent1981c9bb09125d2d3471b60477ed5aaa2093f64f (diff)
Multi-byte safe function to support all other languages.
-rw-r--r--modules/tag/views/admin_tags.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php
index 62e3a2a1..21661c48 100644
--- a/modules/tag/views/admin_tags.html.php
+++ b/modules/tag/views/admin_tags.html.php
@@ -30,7 +30,7 @@
<tr>
<td>
<? foreach ($tags as $i => $tag): ?>
- <? $current_letter = strtoupper(substr($tag->name, 0, 1)) ?>
+ <? $current_letter = strtoupper(mb_substr($tag->name, 0, 1)) ?>
<? if ($i == 0): /* first letter */ ?>
<strong><?= $current_letter ?></strong>