diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-09-14 21:16:00 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-09-14 21:16:00 +0000 |
commit | 4005922332b3f51f86e29507ea1e19e179119493 (patch) | |
tree | a6d86e1cbe98f3e8fb3ec5319ec56353c323b89b /modules/profile.module | |
parent | fd854ea105a56e0ae9d78f456d0b1a2a0efc3327 (diff) | |
download | brdo-4005922332b3f51f86e29507ea1e19e179119493.tar.gz brdo-4005922332b3f51f86e29507ea1e19e179119493.tar.bz2 |
- Patch #31123 by Ber: make it easier to theme the user profile pages.
Diffstat (limited to 'modules/profile.module')
-rw-r--r-- | modules/profile.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile.module b/modules/profile.module index 60b0159c8..a7c4b5b80 100644 --- a/modules/profile.module +++ b/modules/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); } } |