summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2001-05-18 22:03:05 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2001-05-18 22:03:05 +0000
commite7c727a6346734aceab54f392ea08fb0a2b5312b (patch)
treeb43c73ce5fdb2cb6bc85952c1b97d4f0f455feb3 /includes
parent507b2a8cd1dc5fa9b3126657c6edc53282fb6748 (diff)
downloadbrdo-e7c727a6346734aceab54f392ea08fb0a2b5312b.tar.gz
brdo-e7c727a6346734aceab54f392ea08fb0a2b5312b.tar.bz2
Oops, I used sort() instead of asort(), which destroys the keys in associative arrays.
Diffstat (limited to 'includes')
-rw-r--r--includes/module.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 553aa1d80..9d1d05dcf 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -36,7 +36,7 @@ function module_list() {
}
}
closedir($handle);
- sort($list);
+ asort($list);
}
return $list;