Commit 51f8d2f3 authored by Dries's avatar Dries
Browse files

- Patch #47406 by Zen: menu sorting shouldn't be case insensitive.

parent 69339c71
......@@ -1760,7 +1760,7 @@ function node_add($type) {
}
if (isset($item)) {
ksort($item);
uasort($item, 'strnatcasecmp');
$output = t('Choose the appropriate item from the list:') .'<dl>'. implode('', $item) .'</dl>';
}
else {
......
......@@ -1760,7 +1760,7 @@ function node_add($type) {
}
if (isset($item)) {
ksort($item);
uasort($item, 'strnatcasecmp');
$output = t('Choose the appropriate item from the list:') .'<dl>'. implode('', $item) .'</dl>';
}
else {
......
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