- Patch #53021 by Egon Bianchet: sort the node types.
parent
9551bf08f4
commit
37a9229dba
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue