diff options
author | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-02 19:37:41 +0400 |
---|---|---|
committer | Benaka Moorthi <benaka.moorthi@gmail.com> | 2013-09-02 19:37:41 +0400 |
commit | 38f91abba11e01561007f53e6612c4eae64ac8b5 (patch) | |
tree | 176d99cb435376d572ae2a6b2734b52ac0024999 /core | |
parent | 6c1d61df7564418e73932c27505184d25277167d (diff) |
Fixing build.
Diffstat (limited to 'core')
-rw-r--r-- | core/DataTable.php | 6 |
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); } |