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/Metrics/Formatter.php')
-rw-r--r--core/Metrics/Formatter.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/Metrics/Formatter.php b/core/Metrics/Formatter.php
index 8852e26104..25e80ef81f 100644
--- a/core/Metrics/Formatter.php
+++ b/core/Metrics/Formatter.php
@@ -207,7 +207,11 @@ class Formatter
foreach ($dataTable->getRows() as $row) {
$subtable = $row->getSubtable();
if (!empty($subtable)) {
- $this->formatMetrics($subtable, $report, $metricsToFormat);
+ $this->formatMetrics($subtable, $report, $metricsToFormat, $formatAll);
+ }
+ $comparisons = $row->getComparisons();
+ if (!empty($comparisons)) {
+ $this->formatMetrics($comparisons, $report, $metricsToFormat, $formatAll);
}
}