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:
-rw-r--r--libs/PiwikTracker/PiwikTracker.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/PiwikTracker/PiwikTracker.php b/libs/PiwikTracker/PiwikTracker.php
index e9a5429b9a..aa689a863c 100644
--- a/libs/PiwikTracker/PiwikTracker.php
+++ b/libs/PiwikTracker/PiwikTracker.php
@@ -368,9 +368,9 @@ class PiwikTracker
*/
public function clearCustomVariables()
{
- $this->visitorCustomVar = false;
- $this->pageCustomVar = false;
- $this->eventCustomVar = false;
+ $this->visitorCustomVar = array();
+ $this->pageCustomVar = array();
+ $this->eventCustomVar = array();
}
@@ -1357,8 +1357,8 @@ class PiwikTracker
// Reset page level custom variables after this page view
- $this->pageCustomVar = false;
- $this->eventCustomVar = false;
+ $this->pageCustomVar = array();
+ $this->eventCustomVar = array();
// force new visit only once, user must call again setForceNewVisit()
$this->forcedNewVisit = false;