From 948f739fd6fef3be675bac458f9a44bc529cafce Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 5 Dec 2004 16:35:24 +0000 Subject: [PATCH] added a trim to cope with junk after charset name --- phpgwapi/inc/class.setup_translation.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.setup_translation.inc.php b/phpgwapi/inc/class.setup_translation.inc.php index d9ea9b1358..26e7f3ea81 100644 --- a/phpgwapi/inc/class.setup_translation.inc.php +++ b/phpgwapi/inc/class.setup_translation.inc.php @@ -175,7 +175,7 @@ } $html = CreateObject('phpgwapi.html'); - return $html->select($name,strtolower($selected),$charsets,true); + return $html->select($name,trim(strtolower($selected)),$charsets,true); } } ?>