Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/DataTable.php')
-rw-r--r--core/DataTable.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/DataTable.php b/core/DataTable.php
index f7f6cd824f..9065afcef8 100644
--- a/core/DataTable.php
+++ b/core/DataTable.php
@@ -672,6 +672,12 @@ class DataTable implements DataTableInterface, \IteratorAggregate, \ArrayAccess
) {
return $this->summaryRow;
}
+ if (empty($rowId)
+ && !empty($this->totalsRow)
+ && $label == $this->totalsRow->getColumn('label')
+ ) {
+ return $this->totalsRow;
+ }
if ($rowId instanceof Row) {
return $rowId;
}