From 6552a1bba364158b4196d035e0d756b9381c0c79 Mon Sep 17 00:00:00 2001 From: Luca Date: Sun, 25 Feb 2024 17:26:59 +0100 Subject: [PATCH] Update validation.php --- modules/anagrafiche/validation.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/anagrafiche/validation.php b/modules/anagrafiche/validation.php index e6e2cad52..8629ba38a 100755 --- a/modules/anagrafiche/validation.php +++ b/modules/anagrafiche/validation.php @@ -102,7 +102,8 @@ switch ($name) { $valido = (strlen($value) === $length ? true : false); break; default: - $valido = true; + $length = 7; + $valido = (strlen($value) >= $length ? true : false); break; }