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@gmail.com>2015-08-29 14:02:01 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-08-29 14:02:01 +0300
commit1196447c73918b41a61bb38e17044067ca9d88a6 (patch)
treec0a43ded9671c115f53c5436a44021684c8888d1 /core/Tracker/TrackerCodeGenerator.php
parent96ae06bdeff514e579237776bd148794003af262 (diff)
return min amount of available custom variables across tables instead of maximum
Diffstat (limited to 'core/Tracker/TrackerCodeGenerator.php')
-rw-r--r--core/Tracker/TrackerCodeGenerator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/TrackerCodeGenerator.php b/core/Tracker/TrackerCodeGenerator.php
index 7a0204dbda..ceca8a3e71 100644
--- a/core/Tracker/TrackerCodeGenerator.php
+++ b/core/Tracker/TrackerCodeGenerator.php
@@ -63,7 +63,7 @@ class TrackerCodeGenerator
if ($mergeSubdomains || $mergeAliasUrls) {
$options .= $this->getJavascriptTagOptions($idSite, $mergeSubdomains, $mergeAliasUrls);
}
- $maxCustomVars = CustomVariables::getMaxCustomVariables();
+ $maxCustomVars = CustomVariables::getNumUsableCustomVariables();
if ($visitorCustomVariables && count($visitorCustomVariables) > 0) {
$options .= ' // you can set up to ' . $maxCustomVars . ' custom variables for each visitor' . PHP_EOL;