Fix validation for min string

This commit is contained in:
ATM john 2022-12-20 15:17:55 +01:00
parent c6ee45cc53
commit 7d647fedc5

View File

@ -191,7 +191,7 @@ class Validate
*/
public function isMinLength($string, $length)
{
if (!strlen($string) < $length) {
if (strlen($string) < $length) {
$this->error = $this->outputLang->trans('RequireMinLength', $length);
return false;
}