From 37a9229dba2e8807edcd37fc7d6a9911a24cc00a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 15 May 2006 06:18:01 +0000 Subject: - Patch #53021 by Egon Bianchet: sort the node types. --- modules/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index bd03b311c..fb8bd7035 100644 --- a/modules/node.module +++ b/modules/node.module @@ -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:') .'
'. implode('', $item) .'
'; } else { -- cgit v1.2.3