diff --git a/phpgwapi/inc/class.translation.inc.php b/phpgwapi/inc/class.translation.inc.php index d4176e4e95..501229496f 100644 --- a/phpgwapi/inc/class.translation.inc.php +++ b/phpgwapi/inc/class.translation.inc.php @@ -210,7 +210,7 @@ class translation } else { - $new_key = strtolower(trim(substr($key,0,self::MAX_MESSAGE_ID_LENGTH))); + $new_key = strtolower(substr($key,0,self::MAX_MESSAGE_ID_LENGTH)); if (isset(self::$lang_arr[$new_key])) {