Commit 37a9229d authored by Dries's avatar Dries
Browse files

- Patch #53021 by Egon Bianchet: sort the node types.

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