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-23 02:39:59 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2013-10-23 02:40:12 +0400
commit3a21a768b3de85a3efc73098db5118e875b49cff (patch)
tree5aa1e685b54a8ac4ff287343aa1b9af11c7ff51d /core/DataTable/Filter/ReplaceSummaryRowLabel.php
parentad1e01757ebb3c44caec98117b75e6f7179ff198 (diff)
Tweaking some docs, fixing build, fixing a MultiSites css issue and fixing regression in recent DataTable filter cleanup.
Diffstat (limited to 'core/DataTable/Filter/ReplaceSummaryRowLabel.php')
-rw-r--r--core/DataTable/Filter/ReplaceSummaryRowLabel.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/DataTable/Filter/ReplaceSummaryRowLabel.php b/core/DataTable/Filter/ReplaceSummaryRowLabel.php
index 78ae63226a..4d2b7ceb03 100644
--- a/core/DataTable/Filter/ReplaceSummaryRowLabel.php
+++ b/core/DataTable/Filter/ReplaceSummaryRowLabel.php
@@ -58,8 +58,10 @@ class ReplaceSummaryRowLabel extends Filter
public function filter($table)
{
$rows = $table->getRows();
- foreach ($rows as $row) {
- if ($row->getColumn('label') == DataTable::LABEL_SUMMARY_ROW) {
+ foreach ($rows as $id => $row) {
+ if ($row->getColumn('label') == DataTable::LABEL_SUMMARY_ROW
+ || $id == DataTable::ID_SUMMARY_ROW
+ ) {
$row->setColumn('label', $this->newLabel);
break;
}