From 9bbdb71ee4ccc1cf5433d8c21c8d96f668f81d2b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 6 Aug 2004 20:15:32 +0000 Subject: - Patch #9330: ucfirst() gives problem when used with multibyte charset. Replaced the use of ucfirst() with a CSS-based solution. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index 832059081..9de1009e2 100644 --- a/modules/user/user.module +++ b/modules/user/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' => "$authname")); + return t('The %u ID %s is already taken.', array('%u' => $name, '%s' => "$authname")); } } -- cgit v1.2.3