Skip to content

Commit

Permalink
Update Validator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic authored Sep 15, 2023
1 parent 3c7d736 commit 9185b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/snippets/FormLister/lib/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public static function countBetween($value, $minSize, $maxSize, $strict = false)
*/
protected static function getLength($string)
{
return strlen(utf8_decode($string));
return mb_strlen($string);
}

/**
Expand Down

0 comments on commit 9185b0f

Please sign in to comment.