1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-25 15:22:24 +01:00

Update validation.php

This commit is contained in:
Luca 2024-02-25 17:26:59 +01:00
parent 0d81129756
commit 6552a1bba3

View File

@ -102,7 +102,8 @@ switch ($name) {
$valido = (strlen($value) === $length ? true : false); $valido = (strlen($value) === $length ? true : false);
break; break;
default: default:
$valido = true; $length = 7;
$valido = (strlen($value) >= $length ? true : false);
break; break;
} }