diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-08 07:25:21 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-08 07:25:21 +0300 |
commit | 41f6d051a3c6a4083a807acdea4e681a02f8f9cb (patch) | |
tree | 5dd88b53e4f6b7ac81ea75d166b006aef69613a7 /core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php | |
parent | 97dc9e2897fd5d365926af05078cf4f9941dd01a (diff) |
Documented Metric class and fixed regression in last commit's refactor.
Diffstat (limited to 'core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php')
-rw-r--r-- | core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php index 1410103174..1c524adab2 100644 --- a/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php +++ b/core/DataTable/Filter/AddColumnsProcessedMetricsGoal.php @@ -163,7 +163,7 @@ class AddColumnsProcessedMetricsGoal extends AddColumnsProcessedMetrics { $result = array(); foreach ($table->getRows() as $row) { - $goals = Metric::getMetric($row, Metrics::INDEX_GOALS); + $goals = Metric::getMetric($row, 'goals'); if (!$goals) { continue; } |