diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2013-10-19 07:30:37 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2013-10-21 07:25:58 +0400 |
commit | e342f3fb325776043e115dc00d77488d1c1afcc9 (patch) | |
tree | e7b16774cc2af42f7a6fd6cc0602a98f934b6e16 /core/DataTable/Filter/AddSummaryRow.php | |
parent | 1c42224b7a97c4516426dc974b519bb0bc1bd4dc (diff) |
Fixing tests.
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 0a838d5b13..371b6df1fe 100644 --- a/core/DataTable/Filter/AddSummaryRow.php +++ b/core/DataTable/Filter/AddSummaryRow.php @@ -78,10 +78,10 @@ class AddSummaryRow extends 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, $table->metadata[DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME]); + $newRow->sumRow($summaryRow, $enableCopyMetadata = false, $table->getMetadata(DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME)); } } else { - $newRow->sumRow($rows[$i], $enableCopyMetadata = false, $table->metadata[DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME]); + $newRow->sumRow($rows[$i], $enableCopyMetadata = false, $table->getMetadata(DataTable::COLUMN_AGGREGATION_OPS_METADATA_NAME)); } } |