diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-04-04 05:30:20 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-04-04 05:30:20 +0400 |
commit | f61c0196e33d8ecc5c4e967ce1a8199a11477de2 (patch) | |
tree | bbac322b7b0ddfe3c9c4e0f10bd215c8fd3edced /core/DataTable/Filter/AddSummaryRow.php | |
parent | 19e298faca651eae656ea7ba26b1a0ff25241f97 (diff) |
Very nice commit!
Refs #1700
* Refactoring + adding missing parameters to other sumRow() calls
* Fixing tests on PHP 5.4 / 5.5
Diffstat (limited to 'core/DataTable/Filter/AddSummaryRow.php')
-rw-r--r-- | core/DataTable/Filter/AddSummaryRow.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/DataTable/Filter/AddSummaryRow.php b/core/DataTable/Filter/AddSummaryRow.php index 5bb2a5e10c..61958e6286 100644 --- a/core/DataTable/Filter/AddSummaryRow.php +++ b/core/DataTable/Filter/AddSummaryRow.php @@ -72,10 +72,10 @@ class Piwik_DataTable_Filter_AddSummaryRow extends Piwik_DataTable_Filter //FIXME: I'm not sure why it could return false, but it was reported in: http://forum.piwik.org/read.php?2,89324,page=1#msg-89442 if ($summaryRow) { - $newRow->sumRow($summaryRow, $enableCopyMetadata = false); + $newRow->sumRow($summaryRow, $enableCopyMetadata = false, $table->getColumnAggregationOperations()); } } else { - $newRow->sumRow($rows[$i], $enableCopyMetadata = false); + $newRow->sumRow($rows[$i], $enableCopyMetadata = false, $table->getColumnAggregationOperations()); } } |