diff options
Diffstat (limited to 'core/DataTable/Filter/ReplaceColumnNames.php')
-rw-r--r-- | core/DataTable/Filter/ReplaceColumnNames.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/DataTable/Filter/ReplaceColumnNames.php b/core/DataTable/Filter/ReplaceColumnNames.php index 3865cace7c..8671f2f81a 100644 --- a/core/DataTable/Filter/ReplaceColumnNames.php +++ b/core/DataTable/Filter/ReplaceColumnNames.php @@ -77,10 +77,9 @@ class Piwik_DataTable_Filter_ReplaceColumnNames extends Piwik_DataTable_Filter $newColumns = array(); foreach($columns as $columnName => $columnValue) { - if(isset($this->mappingToApply[$columnName])) + if(isset(Piwik_Archive::$mappingFromIdToName[$columnName])) { - $columnName = $this->mappingToApply[$columnName]; - + $columnName = Piwik_Archive::$mappingFromIdToName[$columnName]; if($columnName == 'goals') { $newSubColumns = array(); |