diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-10 23:19:16 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-10 23:19:16 +0300 |
commit | 8f33b3fccda993e9a1e16e576b7f99d80f8e1062 (patch) | |
tree | 882071bd24ece0f86f2ce9409b76e9bbf19e10ec /core/Tracker | |
parent | cb1c8f109c82d99968301ed2a1de5e99c50b2f9f (diff) |
Default visit custom variables array in GoalManager class.
Diffstat (limited to 'core/Tracker')
-rw-r--r-- | core/Tracker/GoalManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/GoalManager.php b/core/Tracker/GoalManager.php index 89c55b2d67..b7a63775b5 100644 --- a/core/Tracker/GoalManager.php +++ b/core/Tracker/GoalManager.php @@ -224,7 +224,7 @@ class GoalManager public function recordGoals(VisitProperties $visitProperties, Request $request) { $visitorInformation = $visitProperties->getProperties(); - $visitCustomVariables = $request->getMetadata('CustomVariables', 'visitCustomVariables'); + $visitCustomVariables = $request->getMetadata('CustomVariables', 'visitCustomVariables') ?: array(); /** @var Action $action */ $action = $request->getMetadata('Actions', 'action'); |