Commit 838b4c65 authored by webchick's avatar webchick

#528204 by rfay: Fixed menu item sorting so it is now case in-sensitive.

parent 6e3832f4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment