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 <benaka@piwik.pro>2014-11-14 12:52:11 +0300
committerdiosmosis <benaka@piwik.pro>2014-11-14 12:52:11 +0300
commite89237c8c775a4fe5ac0b34103fb022a7b78d724 (patch)
tree673de854670ec8803ca2ab7598fb8cf4e5a013ee /core/DataTable
parent99b3515cc3638439f6b77c69cf2c02aa43148053 (diff)
Make sure all goals IDs present in a DataTable are processed when adding goal specific processed metrics to a DataTable.
Diffstat (limited to 'core/DataTable')
-rw-r--r--core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
index 16fc2db1bf..accd8dbf01 100644
--- a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
+++ b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php
@@ -159,9 +159,7 @@ class AddColumnsProcessedMetricsGoal extends AddColumnsProcessedMetrics
$goalId = str_replace("idgoal=", "", $goalId);
$result[] = $goalId;
}
-
- break;
}
- return $result;
+ return array_unique($result);
}
} \ No newline at end of file