diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php index 289db380603897f88de05c34c05a4eeabace8481..79fca329c0a1b04e65cb5ba00e7e2246940a1314 100644 --- a/plugins/API/ProcessedReport.php +++ b/plugins/API/ProcessedReport.php @@ -604,7 +604,7 @@ class ProcessedReport ); } - private function aggregateReportTotalValues(DataTable $simpleDataTable, $totals) + private function aggregateReportTotalValues($simpleDataTable, $totals) { $metadataTotals = $simpleDataTable->getMetadata('totals'); @@ -612,7 +612,7 @@ class ProcessedReport return $totals; } - + $simpleTotals = $this->hideShowMetrics($metadataTotals); foreach ($simpleTotals as $metric => $value) {