On autorise les noms de domaines vide pour les groupes n'ayant pas de mailing listes
authorx2002bobillot <x2002bobillot@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 9 Jan 2006 11:27:19 +0000 (11:27 +0000)
committerx2002bobillot <x2002bobillot@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 9 Jan 2006 11:27:19 +0000 (11:27 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.9@197 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs.net/groupe/edit.php

index 140def7..dced958 100644 (file)
@@ -5,7 +5,7 @@
 
     if (Post::has('submit')) {
         if (has_perms()) {
-            if (strstr(Post::get('mail_domain'), '.') === false) {
+            if (Post::get('mail_domain') != "" && (strstr(Post::get('mail_domain'), '.') === false)) {
                 $page->trig_run("le domaine doit ĂȘtre un FQDN (aucune modif effectuĂ©e) !!!");
             }
             $globals->xdb->execute(