Merge pull request #22648 from hregis/fix_remove_unused_code

FIX remove unused code for avoid error
This commit is contained in:
Laurent Destailleur 2022-10-24 19:15:19 +02:00 committed by GitHub
commit ba04a18d5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -725,9 +725,9 @@ class Translate
return $str;
} else {
if ($key[0] == '$') {
/*if ($key[0] == '$') {
return dol_eval($key, 1, 1, '1');
}
}*/
return $this->getTradFromKey($key);
}
}