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
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2013-10-19 07:30:37 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2013-10-21 07:25:58 +0400
commite342f3fb325776043e115dc00d77488d1c1afcc9 (patch)
treee7b16774cc2af42f7a6fd6cc0602a98f934b6e16 /core/DataTable/Filter/AddSummaryRow.php
parent1c42224b7a97c4516426dc974b519bb0bc1bd4dc (diff)
Fixing tests.
Diffstat (limited to 'core/DataTable/Filter/AddSummaryRow.php')
-rw-r--r--core/DataTable/Filter/AddSummaryRow.php4
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));
}
}