git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@970
839d8a87-29fc-0310-9880-
83ba4fa771e5
{
$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']))