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:
authormattab <matthieu.aubry@gmail.com>2013-06-19 01:26:25 +0400
committermattab <matthieu.aubry@gmail.com>2013-06-19 01:26:25 +0400
commiteca878e7ac193c8a580f1ebee59eabddf9661b3e (patch)
treeef1b9513bbc71e4cd5a8dfe1de53aa8a9b1d3b98 /core/ArchiveProcessor
parent045b0885dd1476bfadcf91446c3cf41885b3308e (diff)
Fixing bug when generating custom reports, return a numeric value only if a single column was requested (otherwise return array)
Diffstat (limited to 'core/ArchiveProcessor')
-rw-r--r--core/ArchiveProcessor/Period.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/ArchiveProcessor/Period.php b/core/ArchiveProcessor/Period.php
index 8ea5a886b7..ff052ac6ae 100644
--- a/core/ArchiveProcessor/Period.php
+++ b/core/ArchiveProcessor/Period.php
@@ -111,7 +111,6 @@ class Piwik_ArchiveProcessor_Period extends Piwik_ArchiveProcessor
}
$this->initArchiver();
$data = $this->archiver->getNumeric($columns);
-
$operationForColumn = $this->getOperationForColumns($columns, $operationToApply);
$results = $this->aggregateDataArray($data, $operationForColumn);
$results = $this->defaultColumnsToZero($columns, $results);