From bf8b6a531a1af5c9ca7a53d4c3c2678328b44ef9 Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Mon, 27 Feb 2006 15:04:45 +0000 Subject: #46617, Restore some module listings, partially applied, I've omitted places where I felt that sortign by weight would be wanted. We can discuss those on the issue. Patch by chx. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user') diff --git a/modules/user/user.module b/modules/user/user.module index 57447b48c..be46ff8ca 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1691,7 +1691,7 @@ function user_admin_perm($str_rids = NULL) { // Render role/permission overview: $options = array(); - foreach (module_list() as $module) { + foreach (module_list(FALSE, FALSE, TRUE) as $module) { if ($permissions = module_invoke($module, 'perm')) { $form['permission'][] = array('#type' => 'markup', '#value' => t('%module module', array('%module' => $module))); asort($permissions); -- cgit v1.2.3