diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-08-29 14:02:01 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-08-29 14:02:01 +0300 |
commit | 1196447c73918b41a61bb38e17044067ca9d88a6 (patch) | |
tree | c0a43ded9671c115f53c5436a44021684c8888d1 /core/Tracker/TrackerCodeGenerator.php | |
parent | 96ae06bdeff514e579237776bd148794003af262 (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.php | 2 |
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; |