diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-09-23 06:34:35 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-09-23 06:34:35 +0400 |
commit | 252798d2d742cae998a1f42f50a5ba37c98069df (patch) | |
tree | 85298d559cef32d8ec70bc829fc360d3130282ea /core/Common.php | |
parent | 02e410efd8351f0263721a6450ea70ae50b78d0a (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.php | 1 |
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); } |