Profile.module: removing incorrect use of strtolower which messes up UTF-8 data.

4.5.x
Steven Wittens 2004-09-20 23:42:11 +00:00
parent 293c283c3b
commit c6281c464c
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}