summaryrefslogtreecommitdiff
path: root/modules/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile.module')
-rw-r--r--modules/profile.module7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/profile.module b/modules/profile.module
index fb626c046..ba477cddf 100644
--- a/modules/profile.module
+++ b/modules/profile.module
@@ -745,7 +745,12 @@ function theme_profile_block($account, $fields = array()) {
foreach ($fields as $field) {
if ($field->value) {
- $output .= "<p><strong>$field->title:</strong><br />$field->value</p>\n";
+ if ($field->type == 'checkbox') {
+ $output .= "<p>$field->value</p>\n";
+ }
+ else {
+ $output .= "<p><strong>$field->title</strong><br />$field->value</p>\n";
+ }
}
}