diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php index 2096601979e..8cca03c89a8 100644 --- a/plugins/API/ProcessedReport.php +++ b/plugins/API/ProcessedReport.php @@ -779,7 +779,7 @@ private function handleSimpleDataTable($idSite, $simpleDataTable, $metadataColum private function aggregateReportTotalValues($simpleDataTable, $metadateColumns, $totals) { - $metadataTotals = $simpleDataTable->getTotalsRow(); + $metadataTotals = $simpleDataTable->getMetadata('totalsUnformatted'); if (empty($metadataTotals)) { return $totals;