summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-10-04 20:28:41 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-10-04 20:28:41 +0000
commitb7071b6c2c94adf3cd5bff6769a4d152e4497f3a (patch)
tree6d1a0a8dff346786a63f0a77f6bc17de13f15b15
parent389916b8bef28ef11881bc71cd0ec59b8a69b6f7 (diff)
downloadbrdo-b7071b6c2c94adf3cd5bff6769a4d152e4497f3a.tar.gz
brdo-b7071b6c2c94adf3cd5bff6769a4d152e4497f3a.tar.bz2
#79052: Category name cannot contain ampersands
-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 0c40a10c7..a96b4629e 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -776,7 +776,7 @@ function profile_validate_profile($edit, $category) {
function profile_categories() {
$result = db_query("SELECT DISTINCT(category) FROM {profile_fields}");
while ($category = db_fetch_object($result)) {
- $data[] = array('name' => check_plain($category->category), 'title' => $category->category, 'weight' => 3);
+ $data[] = array('name' => $category->category, 'title' => $category->category, 'weight' => 3);
}
return $data;
}