From 14cac9590f6b1a5a1e73a547b612c4fc468ed62e Mon Sep 17 00:00:00 2001 From: x2001corpet Date: Wed, 11 Oct 2006 22:12:49 +0000 Subject: [PATCH] backport : fix bug dans la verif d'adresse git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@971 839d8a87-29fc-0310-9880-83ba4fa771e5 --- include/profil/verif_adresses.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/profil/verif_adresses.inc.php b/include/profil/verif_adresses.inc.php index ddb2494..050523e 100644 --- a/include/profil/verif_adresses.inc.php +++ b/include/profil/verif_adresses.inc.php @@ -187,7 +187,7 @@ foreach($adresses as $adrid => $adr) { { $page->trig("Le champ '$description - Code Postal' contient un caractère interdit."); } - if (strlen(strtok($adr['city'],"<>{}@~?!§*`|%$^=+")) < strlen($adr['postcode'])) + if (strlen(strtok($adr['city'],"<>{}@~?!§*`|%$^=+")) < strlen($adr['city'])) { $page->trig("Le champ '$description - Ville' contient un caractère interdit."); } -- 2.1.4