From 1a71cf073af48750e681ee019729de70a43553e3 Mon Sep 17 00:00:00 2001 From: x2001corpet Date: Wed, 11 Oct 2006 22:11:16 +0000 Subject: [PATCH] bug dans la verif d'adresse git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@970 839d8a87-29fc-0310-9880-83ba4fa771e5 --- include/profil/verif_adresses.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/profil/verif_adresses.inc.php b/include/profil/verif_adresses.inc.php index 05d1208..09e6a46 100644 --- a/include/profil/verif_adresses.inc.php +++ b/include/profil/verif_adresses.inc.php @@ -187,9 +187,9 @@ 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."); + $page->trig("Le champ '$description - Ville' contient un caractère interdit."); } foreach ($adr['tels'] as $tel) { if (strlen(strtok($tel['tel'],"<>{}@&#~\/:;?,!§*_`[]|%$^=\"")) < strlen($tel['tel'])) -- 2.1.4