diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-09-20 23:42:11 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-09-20 23:42:11 +0000 |
commit | c6281c464cb2dcc69abc09902552a77c6afe5e41 (patch) | |
tree | b2b492b0d073b2f5c19b19e86652f0d7d9a4925f | |
parent | 293c283c3bcb5482167bf84168d98b1a9352ceb8 (diff) | |
download | brdo-c6281c464cb2dcc69abc09902552a77c6afe5e41.tar.gz brdo-c6281c464cb2dcc69abc09902552a77c6afe5e41.tar.bz2 |
Profile.module: removing incorrect use of strtolower which messes up UTF-8 data.
-rw-r--r-- | modules/profile.module | 2 | ||||
-rw-r--r-- | modules/profile/profile.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile.module b/modules/profile.module index d4e1bb595..6d5af09e2 100644 --- a/modules/profile.module +++ b/modules/profile.module @@ -370,7 +370,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' => drupal_specialchars(strtolower($category->category)), 'title' => strtolower($category->category), 'weight' => 3); + $data[] = array('name' => drupal_specialchars($category->category), 'title' => $category->category, 'weight' => 3); } return $data; } diff --git a/modules/profile/profile.module b/modules/profile/profile.module index d4e1bb595..6d5af09e2 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -370,7 +370,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' => drupal_specialchars(strtolower($category->category)), 'title' => strtolower($category->category), 'weight' => 3); + $data[] = array('name' => drupal_specialchars($category->category), 'title' => $category->category, 'weight' => 3); } return $data; } |