From b7071b6c2c94adf3cd5bff6769a4d152e4497f3a Mon Sep 17 00:00:00 2001
From: Steven Wittens <steven@10.no-reply.drupal.org>
Date: Wed, 4 Oct 2006 20:28:41 +0000
Subject: [PATCH] #79052: Category name cannot contain ampersands

---
 modules/profile/profile.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 0c40a10c76d8..a96b4629e1a2 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;
 }
-- 
GitLab