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
path: root/core
diff options
context:
space:
mode:
authorBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-02 19:37:41 +0400
committerBenaka Moorthi <benaka.moorthi@gmail.com>2013-09-02 19:37:41 +0400
commit38f91abba11e01561007f53e6612c4eae64ac8b5 (patch)
tree176d99cb435376d572ae2a6b2734b52ac0024999 /core
parent6c1d61df7564418e73932c27505184d25277167d (diff)
Fixing build.
Diffstat (limited to 'core')
-rw-r--r--core/DataTable.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/DataTable.php b/core/DataTable.php
index 201775ebc7..f89ddd17d6 100644
--- a/core/DataTable.php
+++ b/core/DataTable.php
@@ -597,10 +597,8 @@ class DataTable
) {
if ($this->summaryRow === null) // create the summary row if necessary
{
- $this->addSummaryRow(new Row(array(
- Row::COLUMNS => $row->getColumns()
- )));
- $this->summaryRow->setColumn('label', self::LABEL_SUMMARY_ROW);
+ $columns = array('label' => self::LABEL_SUMMARY_ROW) + $row->getColumns();
+ $this->addSummaryRow(new Row(array(Row::COLUMNS => $columns)));
} else {
$this->summaryRow->sumRow($row, $enableCopyMetadata = false, $this->columnAggregationOperations);
}