diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-14 12:52:11 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-14 12:52:11 +0300 |
commit | e89237c8c775a4fe5ac0b34103fb022a7b78d724 (patch) | |
tree | 673de854670ec8803ca2ab7598fb8cf4e5a013ee /core/DataTable | |
parent | 99b3515cc3638439f6b77c69cf2c02aa43148053 (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.php | 4 |
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 |