summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-10 15:17:51 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-10 15:17:51 +0000
commit74e3c74b813c2da89d99c86bc1f6d8f11d978fba (patch)
treedf794b05f6dce316232280cd41d0ff3f015401a7 /modules/profile/profile.module
parent414b5e3901271b91bebdd03c3abe00f507dbc87c (diff)
downloadbrdo-74e3c74b813c2da89d99c86bc1f6d8f11d978fba.tar.gz
brdo-74e3c74b813c2da89d99c86bc1f6d8f11d978fba.tar.bz2
- Always check the username.
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>';