@@ -1223,10 +1223,10 @@ |
||
1223 | 1223 | |
1224 | 1224 | $testCondition = '=' . $arg . $condition; |
1225 | 1225 | |
1226 | - if ( is_numeric( $sumArgs[ $key ] ) && |
|
1227 | - Calculation::getInstance()->_calculateFormulaValue( $testCondition ) ) { |
|
1226 | + if (is_numeric($sumArgs[$key]) && |
|
1227 | + Calculation::getInstance()->_calculateFormulaValue($testCondition)) { |
|
1228 | 1228 | // Is it a value within our criteria and only numeric can be added to the result |
1229 | - $returnValue += $sumArgs[ $key ]; |
|
1229 | + $returnValue += $sumArgs[$key]; |
|
1230 | 1230 | } |
1231 | 1231 | } |
1232 | 1232 |