diff options
Diffstat (limited to 'core/Validators/CharacterLength.php')
-rw-r--r-- | core/Validators/CharacterLength.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Validators/CharacterLength.php b/core/Validators/CharacterLength.php index 213732b0cc..d40b11bfcb 100644 --- a/core/Validators/CharacterLength.php +++ b/core/Validators/CharacterLength.php @@ -44,7 +44,7 @@ class CharacterLength extends BaseValidator return; } - $lenValue = Common::mb_strlen($value); + $lenValue = mb_strlen($value); if (isset($this->min) && $this->min > $lenValue) { throw new Exception(Piwik::translate('General_ValidatorErrorCharacterTooShort', array($lenValue, $this->min))); |