2
0
forked from Wavyzz/dolibarr

FIX better regex to detect substitution key

This commit is contained in:
Laurent Destailleur
2024-10-30 19:53:40 +01:00
parent 2e89306a21
commit eaf92c9fa4
6 changed files with 516 additions and 426 deletions

View File

@@ -93,12 +93,12 @@ class FunctionsLibTest extends CommonClassTest
die(1);
}
if ($conf->global->MAIN_MAX_DECIMALS_UNIT != 5) {
if (getDolGlobalInt('MAIN_MAX_DECIMALS_UNIT') != 5) {
print "\n".__METHOD__." bad setup for number of digits for unit amount. Must be 5 for this test.\n";
die(1);
}
if ($conf->global->MAIN_MAX_DECIMALS_TOT != 2) {
if (getDolGlobalInt('MAIN_MAX_DECIMALS_TOT') != 2) {
print "\n".__METHOD__." bad setup for number of digits for unit amount. Must be 2 for this test.\n";
die(1);
}