inutile de verifier la ville : elle vient direct de geoloc
[platal.git] / 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']))
       {