summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 2994838d7..35bf7e1ab 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -477,10 +477,10 @@ function profile_browse() {
$output .= theme('pager', NULL, 20);
if ($field->type == 'selection' || $field->type == 'list' || $field->type == 'textfield') {
- $title = strtr($field->page, array('%value' => theme('placeholder', $value)));
+ $title = strtr(check_plain($field->page), array('%value' => theme('placeholder', $value)));
}
else {
- $title = $field->page;
+ $title = check_plain($field->page);
}
$output .= '</div>';