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

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);
}
}