From 74e3c74b813c2da89d99c86bc1f6d8f11d978fba Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 10 Jan 2007 15:17:51 +0000 Subject: - Always check the username. --- modules/profile/profile.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/profile/profile.module') 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 .= ''; -- cgit v1.2.3