diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-06-19 01:26:25 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-06-19 01:26:25 +0400 |
commit | eca878e7ac193c8a580f1ebee59eabddf9661b3e (patch) | |
tree | ef1b9513bbc71e4cd5a8dfe1de53aa8a9b1d3b98 /core/ArchiveProcessor | |
parent | 045b0885dd1476bfadcf91446c3cf41885b3308e (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.php | 1 |
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); |