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:
authormattab <matthieu.aubry@gmail.com>2014-09-23 06:34:35 +0400
committermattab <matthieu.aubry@gmail.com>2014-09-23 06:34:35 +0400
commit252798d2d742cae998a1f42f50a5ba37c98069df (patch)
tree85298d559cef32d8ec70bc829fc360d3130282ea /core/Common.php
parent02e410efd8351f0263721a6450ea70ae50b78d0a (diff)
refs #3490 Throw meaningful error when userId segment is used with an unsupported segment match operator + test
Diffstat (limited to 'core/Common.php')
-rw-r--r--core/Common.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Common.php b/core/Common.php
index c345c1d17d..d9ddf0be25 100644
--- a/core/Common.php
+++ b/core/Common.php
@@ -582,6 +582,7 @@ class Common
*/
public static function convertUserIdToVisitorIdBin($userId)
{
+ require_once PIWIK_INCLUDE_PATH . '/libs/PiwikTracker/PiwikTracker.php';
$userIdHashed = \PiwikTracker::getUserIdHashed($userId);
return self::convertVisitorIdToBin($userIdHashed);
}