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:
-rw-r--r--plugins/PagePerformance/Archiver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PagePerformance/Archiver.php b/plugins/PagePerformance/Archiver.php
index b7622c73ec..5b12cac165 100644
--- a/plugins/PagePerformance/Archiver.php
+++ b/plugins/PagePerformance/Archiver.php
@@ -54,7 +54,7 @@ class Archiver extends \Piwik\Plugin\Archiver
$column = $dimension->getColumnName();
$selects[] = "sum($table.$column) as {$column}_total";
$selects[] = "sum(if($table.$column is null, 0, 1)) as {$column}_hits";
- $totalColumns[] = "IFNULL($table.$column,0)";
+ $totalColumns[] = "$table.$column";
$hitsColumns[] = "if($table.$column is null, 0, 1)";
}