summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-26 10:48:00 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-26 10:48:00 +0000
commit39b6e84a57b572471c8b95c5d1bf5df69b45245c (patch)
tree3b509bc250d766806f05306656ab827e2f3b118f /modules
parent98ee16ca49c70d12225677999b7534744d13f168 (diff)
Change sort_by_name to case insensitive sort.
Diffstat (limited to 'modules')
-rw-r--r--modules/tag/helpers/tag_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_block.php b/modules/tag/helpers/tag_block.php
index 4b74c4d7..986584f0 100644
--- a/modules/tag/helpers/tag_block.php
+++ b/modules/tag/helpers/tag_block.php
@@ -35,6 +35,6 @@ class tag_block_Core {
}
public static function sort_by_name($tag1, $tag2) {
- return strcmp($tag1->name, $tag2->name);
+ return strcasecmp($tag1->name, $tag2->name);
}
} \ No newline at end of file