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:
authorThomas Steur <thomas.steur@googlemail.com>2014-06-25 08:30:50 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-25 08:30:50 +0400
commitc7f06bb82097db89b746de503c224011a8c7f0a8 (patch)
treec2f4118978a58ecc9a87f7633830971427877bd2 /core/Tracker/Visit.php
parent6526e28b143192611cabfcba4e0d8d5cd92464ad (diff)
started to handle changes to dimensions, for instance if a new dimension is added the platform should detect this and run an update script. also if a dimension suddenly handles new cases such as conversion it should automatically add a column to log_conversion after a user confirms. Have not tested update and/or installation yet
Diffstat (limited to 'core/Tracker/Visit.php')
-rw-r--r--core/Tracker/Visit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php
index 8904682139..806c694f1a 100644
--- a/core/Tracker/Visit.php
+++ b/core/Tracker/Visit.php
@@ -542,7 +542,7 @@ class Visit implements VisitInterface
$value = $dimension->$hook($this->request, $visitor, $action);
if ($value !== false) {
- $fieldName = $dimension->getFieldName();
+ $fieldName = $dimension->getColumnName();
$visitor->setVisitorColumn($fieldName, $value);
if ($valuesToUpdate !== null) {