diff options
author | unostar <unostar@danalan.info> | 2009-06-13 01:39:35 +0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-13 08:14:21 +0800 |
commit | 878d82cb4655a1e0c98f75d7d236e1b6a553c0b3 (patch) | |
tree | c41d35ca239e2133c59ba86fef57082a90ac107d /modules | |
parent | 1406cb7c0fc401b530c10286aa26434a92a2b113 (diff) |
Multi-byte safe function to support all other languages.
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/tag/views/admin_tags.html.php | 2 |
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> |