From 39b6e84a57b572471c8b95c5d1bf5df69b45245c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 26 Nov 2008 10:48:00 +0000 Subject: Change sort_by_name to case insensitive sort. --- modules/tag/helpers/tag_block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3