X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fprofil%2Fverif_adresses.inc.php;h=c2a6896613c9c9fa3e0ce9602fa877abed61374b;hb=509e6025de4089e96f8511032b55c8745919e8d1;hp=050523ef55fa979fd43da09975735b3a82783425;hpb=14cac9590f6b1a5a1e73a547b612c4fc468ed62e;p=platal.git diff --git a/include/profil/verif_adresses.inc.php b/include/profil/verif_adresses.inc.php index 050523e..c2a6896 100644 --- a/include/profil/verif_adresses.inc.php +++ b/include/profil/verif_adresses.inc.php @@ -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'])) {