summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-11-03 01:35:17 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-11-03 01:35:17 +0000
commit6ffdf055d950f0c71a7a2b88cdc464d39fcbb701 (patch)
tree59a0ff9783e1fc4cccd3665566bcf4f0c105b660
parent4e8a34320cd3a27071cb52d8f4b1b6fa14b6cb8d (diff)
downloadbrdo-6ffdf055d950f0c71a7a2b88cdc464d39fcbb701.tar.gz
brdo-6ffdf055d950f0c71a7a2b88cdc464d39fcbb701.tar.bz2
Add missing array keys to fields when building user profile view, to make hook_profile_alter() use more consistent.
-rw-r--r--modules/profile/profile.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index c6da58721..629514536 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -607,7 +607,7 @@ function profile_view_profile($user) {
'value' => $value,
'class' => $field->name,
);
- $fields[$field->category][] = $item;
+ $fields[$field->category][$field->name] = $item;
}
}
return $fields;