summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-06 20:15:32 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-06 20:15:32 +0000
commit9bbdb71ee4ccc1cf5433d8c21c8d96f668f81d2b (patch)
treecfdc8bbe28cf0bf27b269e743c263c9cb560083f /modules/user.module
parentf037130086076c5f652ca298f4c859f9f4d9fb6c (diff)
downloadbrdo-9bbdb71ee4ccc1cf5433d8c21c8d96f668f81d2b.tar.gz
brdo-9bbdb71ee4ccc1cf5433d8c21c8d96f668f81d2b.tar.bz2
- Patch #9330: ucfirst() gives problem when used with multibyte charset.
Replaced the use of ucfirst() with a CSS-based solution.
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module
index 832059081..9de1009e2 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -207,7 +207,7 @@ function user_validate_authmap($account, $authname, $module) {
$result = db_query("SELECT COUNT(*) from {authmap} WHERE uid != %d AND authname = '%s'", $account->uid, $authname);
if (db_result($result) > 0) {
$name = module_invoke($module, 'info', 'name');
- return t('The %u ID %s is already taken.', array('%u' => ucfirst($name), '%s' => "<i>$authname</i>"));
+ return t('The %u ID %s is already taken.', array('%u' => $name, '%s' => "<i>$authname</i>"));
}
}