diff options
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r-- | modules/profile/profile.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module index 60b0159c8..a7c4b5b80 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -297,7 +297,7 @@ function profile_view_profile($user) { if ($value = profile_view_field($user, $field)) { $description = ($field->visibility == PROFILE_PRIVATE) ? t('The content of this field is private and only visible to yourself.') : ''; $title = ($field->type != 'checkbox') ? check_plain($field->title) : ''; - $fields[$field->category] .= form_item($title, $value, $description); + $fields[$field->category][$field->name] = form_item($title, $value, $description); } } |