diff --git a/htdocs/core/class/translate.class.php b/htdocs/core/class/translate.class.php index 3916ef277d6..905ccf9349b 100644 --- a/htdocs/core/class/translate.class.php +++ b/htdocs/core/class/translate.class.php @@ -699,9 +699,7 @@ class Translate $str ); - if (preg_match('/%\)/', $str)) { - $str = preg_replace('/%\)/', '__percent__)', $str); - } + $str = preg_replace('/%\)/', '__percent__)', $str); if (strpos($key, 'Format') !== 0) { try {