summaryrefslogtreecommitdiff
path: root/modules/profile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile')
-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 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,