diff options
author | diosmosis <benaka@piwik.pro> | 2014-11-07 04:43:48 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-11-07 04:49:22 +0300 |
commit | 7f94d08876f6b6553ab0b5123b0e61912e620cde (patch) | |
tree | 095445fb34e90f1f77af5fc224121245f9979002 /plugins/Actions/API.php | |
parent | b870c6a83be9f319d2ade9299d0fbfda51cf9ebc (diff) |
Convert Goals.get to use processed metrics.
Diffstat (limited to 'plugins/Actions/API.php')
-rw-r--r-- | plugins/Actions/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Actions/API.php b/plugins/Actions/API.php index d847c17be7..e98005fded 100644 --- a/plugins/Actions/API.php +++ b/plugins/Actions/API.php @@ -59,7 +59,7 @@ class API extends \Piwik\Plugin\API $inDbColumnNames = array_map(function ($value) { return 'Actions_' . $value; }, $columns); $dataTable = $archive->getDataTableFromNumeric($inDbColumnNames); - $newNameMapping = array_combine(array_values($inDbColumnNames), $columns); + $newNameMapping = array_combine($inDbColumnNames, $columns); $dataTable->filter('ReplaceColumnNames', array($newNameMapping)); $dataTable->filter('ColumnDelete', array(array('sum_time_generation','nb_hits_with_time_generation'))); |