Commit a8594864 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#528204 by rfay, drewish: menu item sorting should be case insensitive;...

#528204 by rfay, drewish: menu item sorting should be case insensitive; lowercase titles for sorting
parent 9b24aaeb
......@@ -643,7 +643,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 + $item['weight']) .' '. $item['title'] .' '. $item['mlid']] = $item;
$content[(50000 + $item['weight']) .' '. drupal_strtolower($item['title']) .' '. $item['mlid']] = $item;
}
ksort($content);
return $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