mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
better fix for performance
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user