Profile.module: removing incorrect use of strtolower which messes up UTF-8 data.
parent
293c283c3b
commit
c6281c464c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue