diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-16 15:29:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-16 15:29:46 +0000 |
commit | eeae26b227b4b4fdf44f0242a003edf7cc7c7c46 (patch) | |
tree | 381d74c3477915bb21037c07a8b9d438d27daea1 /modules/profile | |
parent | ae470d6943c39a6cdc81ee782fc296bce8a41dbe (diff) | |
download | brdo-eeae26b227b4b4fdf44f0242a003edf7cc7c7c46.tar.gz brdo-eeae26b227b4b4fdf44f0242a003edf7cc7c7c46.tar.bz2 |
- Patch #49132 by Tobias and Zen: fixed problem with profile fields being mangled.
Diffstat (limited to 'modules/profile')
-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 0e563b2bf..66596806a 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -314,7 +314,7 @@ function profile_view_profile($user) { while ($field = db_fetch_object($result)) { 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) : ''; + $title = ($field->type != 'checkbox') ? check_plain($field->title) : NULL; $item = array('title' => $title, 'value' => $value, 'class' => $field->name, |