closes #535, autorise le caractere / dans les numeros de tel
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 25 Jan 2007 23:34:51 +0000 (23:34 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 25 Jan 2007 23:34:51 +0000 (23:34 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1396 839d8a87-29fc-0310-9880-83ba4fa771e5

ChangeLog
include/profil/verif_adresses.inc.php

index 1cb2635..597604d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -57,7 +57,7 @@ Bug/Wish:
         - #512: Can attach a file                                          -FRU
 
     * Geoloc:
-        - #493: Fix "List map search" button                               -Car
+        - #493: Fix "List map search" button.                              -Car
 
     * Lists:
         - #588: Auto-select mail to moderate                               -FRU
@@ -65,6 +65,7 @@ Bug/Wish:
         - #616: Fix encoding issues with mail to moderate                  -FRU
 
     * Profile:
+        - #535: Tel can use / to specify extension.                        -Car
         - #628: Fix edition link from user's own profile                   -FRU
 
     * Register:
index e2ca3b0..5ad35c5 100644 (file)
@@ -188,7 +188,7 @@ foreach($adresses as $adrid => $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.");
       }