diff options
author | diosmosis <benaka@piwik.pro> | 2015-08-06 14:54:34 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-07 17:15:43 +0300 |
commit | 2f91d3c83a834b0e451d3e58fa246ef0a87740fb (patch) | |
tree | 4c650ff22651921af10f84344557bf78106f4952 /plugins/CustomVariables | |
parent | 0f67ba1ae63db2ccef642ef215002379c3ee8bfe (diff) |
Add public methods to VisitProperties for property access and use instead of direct access.
Diffstat (limited to 'plugins/CustomVariables')
-rw-r--r-- | plugins/CustomVariables/Tracker/CustomVariablesRequestProcessor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CustomVariables/Tracker/CustomVariablesRequestProcessor.php b/plugins/CustomVariables/Tracker/CustomVariablesRequestProcessor.php index 82dc17413e..86e656929b 100644 --- a/plugins/CustomVariables/Tracker/CustomVariablesRequestProcessor.php +++ b/plugins/CustomVariables/Tracker/CustomVariablesRequestProcessor.php @@ -50,7 +50,7 @@ class CustomVariablesRequestProcessor extends RequestProcessor $visitCustomVariables = $visitProperties->getRequestMetadata('CustomVariables', 'visitCustomVariables'); if (!empty($visitCustomVariables)) { - $visitProperties->visitorInfo = array_merge($visitProperties->visitorInfo, $visitCustomVariables); + $visitProperties->setProperties(array_merge($visitProperties->getProperties(), $visitCustomVariables)); } } |