inutile de verifier la ville : elle vient direct de geoloc
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Fri, 17 Nov 2006 22:19:57 +0000 (22:19 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Fri, 17 Nov 2006 22:19:57 +0000 (22:19 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1097 839d8a87-29fc-0310-9880-83ba4fa771e5

include/profil/verif_adresses.inc.php

index 050523e..c2a6896 100644 (file)
@@ -187,10 +187,6 @@ foreach($adresses as $adrid => $adr) {
     {
       $page->trig("Le champ '$description - Code Postal' contient un caractère interdit.");
     }
-  if (strlen(strtok($adr['city'],"<>{}@~?!§*`|%$^=+")) < strlen($adr['city']))
-    {
-      $page->trig("Le champ '$description - Ville' contient un caractère interdit.");
-    }
   foreach ($adr['tels'] as $tel) {
     if (strlen(strtok($tel['tel'],"<>{}@&#~\/:;?,!§*_`[]|%$^=\"")) < strlen($tel['tel']))
       {