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:
authordiosmosis <benaka@piwik.pro>2015-09-10 23:19:16 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-10 23:19:16 +0300
commit8f33b3fccda993e9a1e16e576b7f99d80f8e1062 (patch)
tree882071bd24ece0f86f2ce9409b76e9bbf19e10ec /core/Tracker
parentcb1c8f109c82d99968301ed2a1de5e99c50b2f9f (diff)
Default visit custom variables array in GoalManager class.
Diffstat (limited to 'core/Tracker')
-rw-r--r--core/Tracker/GoalManager.php2
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');