summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-14 21:28:32 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-14 21:28:32 +0000
commit838b4c65100df5ebda24a4b10f6405d2b38a888e (patch)
tree7b2124d9e61daf3dfcbf6b5d3776fcd87a9faf9b /modules
parent6e3832f4ffacdb8454124c7d4cd399cd3de863c5 (diff)
downloadbrdo-838b4c65100df5ebda24a4b10f6405d2b38a888e.tar.gz
brdo-838b4c65100df5ebda24a4b10f6405d2b38a888e.tar.bz2
#528204 by rfay: Fixed menu item sorting so it is now case in-sensitive.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index c5b39e09e..7d2e93d77 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1582,7 +1582,7 @@ function system_admin_menu_block($item) {
}
// Prepare for sorting as in function _menu_tree_check_access().
// The weight is offset so it is always positive, with a uniform 5-digits.
- $content[(50000 + $link['weight']) . ' ' . $link['title'] . ' ' . $link['mlid']] = $link;
+ $content[(50000 + $link['weight']) . ' ' . drupal_strtolower($link['title']) . ' ' . $link['mlid']] = $link;
}
ksort($content);
$cache[$item['mlid']] = $content;