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/Row.php')
-rw-r--r--core/DataTable/Row.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/DataTable/Row.php b/core/DataTable/Row.php
index abc6aea288..20d46c9a50 100644
--- a/core/DataTable/Row.php
+++ b/core/DataTable/Row.php
@@ -331,7 +331,13 @@ class Piwik_DataTable_Row
{
foreach($rowToSum->getColumns() as $columnToSumName => $columnToSumValue)
{
- if($columnToSumName != 'label')
+ //TODO this should not be hardcoded here.
+ if($columnToSumName != 'label'
+ && $columnToSumName != 'nb_uniq_visitors'
+ && $columnToSumName != 'entry_nb_uniq_visitors'
+ && $columnToSumName != 'exit_nb_uniq_visitors'
+
+ )
{
$thisColumnValue = $this->getColumn($columnToSumName);
$newValue = $this->sumRowArray($thisColumnValue, $columnToSumValue);