summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 1601ba02a..57447b48c 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -2029,7 +2029,7 @@ function _user_forms(&$edit, $account, $category, $hook = 'form') {
$groups = array();
foreach (module_list() as $module) {
if ($data = module_invoke($module, 'user', $hook, $edit, $account, $category)) {
- $groups = array_merge($data, $groups);
+ $groups = array_merge_recursive($data, $groups);
}
}
uasort($groups, '_user_sort');