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:
Diffstat (limited to 'core/Tracker/Failures.php')
-rw-r--r--core/Tracker/Failures.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Tracker/Failures.php b/core/Tracker/Failures.php
index 5756b85ed1..1e96ea933d 100644
--- a/core/Tracker/Failures.php
+++ b/core/Tracker/Failures.php
@@ -101,7 +101,7 @@ class Failures
if (!empty($token) && $value === $token) {
$params[$key] = '__TOKEN_AUTH__'; // user accidentally posted the token in a wrong field
} elseif (!empty($value) && is_string($value)
- && Common::mb_strlen($value) >= 29 && Common::mb_strlen($value) <= 36
+ && mb_strlen($value) >= 29 && mb_strlen($value) <= 36
&& ctype_xdigit($value)) {
$params[$key] = '__TOKEN_AUTH__'; // user maybe posted a token in a different field... it looks like it might be a token
}