X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fprofil%2Fverif_adresses.inc.php;h=5ad35c5a942b3928a8487daf07644ecd7535c2a4;hb=17d6ca08e9f5e7bbad291d5fabfb2bc6da957381;hp=c2a6896613c9c9fa3e0ce9602fa877abed61374b;hpb=509e6025de4089e96f8511032b55c8745919e8d1;p=platal.git diff --git a/include/profil/verif_adresses.inc.php b/include/profil/verif_adresses.inc.php index c2a6896..5ad35c5 100644 --- a/include/profil/verif_adresses.inc.php +++ b/include/profil/verif_adresses.inc.php @@ -1,6 +1,6 @@ $adr) { $page->trig("Le champ '$description - Code Postal' contient un caractère interdit."); } foreach ($adr['tels'] as $tel) { - if (strlen(strtok($tel['tel'],"<>{}@&#~\/:;?,!§*_`[]|%$^=\"")) < strlen($tel['tel'])) + if (strlen(strtok($tel['tel'],"<>{}@&#~:;?,!§*_`[]|%$^=\"")) < strlen($tel['tel'])) { $page->trig("Le champ '$description - ".$tel['tel_type']."' contient un caractère interdit."); }