diff --git a/phpgwapi/inc/class.translation.inc.php b/phpgwapi/inc/class.translation.inc.php index 8e4e16596c..5a795597de 100644 --- a/phpgwapi/inc/class.translation.inc.php +++ b/phpgwapi/inc/class.translation.inc.php @@ -175,7 +175,7 @@ class translation } else { - $new_key = strtolower(trim(substr($key,0,MAX_MESSAGE_ID_LENGTH))); + $new_key = strtolower(substr($key,0,MAX_MESSAGE_ID_LENGTH)); if (isset($this->lang_arr[$new_key])) { @@ -846,4 +846,4 @@ class translation $msg = 'Bitte %1hier%2 clicken!'; $replace = array('',''); echo "
".htmlspecialchars(translation::translate($msg,$replace))."
\n"; -*/ \ No newline at end of file +*/