diff --git a/workflow/engine/classes/class.pmFunctions.php b/workflow/engine/classes/class.pmFunctions.php index 149c9d85b..1c63ec182 100644 --- a/workflow/engine/classes/class.pmFunctions.php +++ b/workflow/engine/classes/class.pmFunctions.php @@ -478,7 +478,7 @@ function evaluateFunction($aGrid, $sExpresion) function PMFTotalCalculation($grid, $field, $function) { $systemConfiguration = Bootstrap::getSystemConfiguration(); - $floatPointNumber = $systemConfiguration['PMFTOTALCALCULATION_FLOATING_POINT_NUMBER']; + $floatPointNumber = $systemConfiguration['pmftotalcalculation_floating_point_number']; $function = strtolower($function); $totalRows = count($grid); $result = 0; diff --git a/workflow/engine/src/ProcessMaker/Core/System.php b/workflow/engine/src/ProcessMaker/Core/System.php index b703b95ac..ab57905aa 100644 --- a/workflow/engine/src/ProcessMaker/Core/System.php +++ b/workflow/engine/src/ProcessMaker/Core/System.php @@ -78,7 +78,7 @@ class System 'highlight_home_folder_refresh_time' => 10, 'highlight_home_folder_scope' => 'unassigned', // For now only this list is supported 'disable_advanced_search_case_title_fulltext' => 0, - 'PMFTOTALCALCULATION_FLOATING_POINT_NUMBER' => 10, + 'pmftotalcalculation_floating_point_number' => 10, 'report_table_batch_regeneration' => 1000 ];