From: x2002bobillot Date: Mon, 9 Jan 2006 11:27:19 +0000 (+0000) Subject: On autorise les noms de domaines vide pour les groupes n'ayant pas de mailing listes X-Git-Tag: xorg/0.9.9~32 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=9b918bf951a4426c6f0e01f20fe1fc8e9c21a3d9;p=platal.git On autorise les noms de domaines vide pour les groupes n'ayant pas de mailing listes git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.9@197 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs.net/groupe/edit.php b/htdocs.net/groupe/edit.php index 140def7..dced958 100644 --- a/htdocs.net/groupe/edit.php +++ b/htdocs.net/groupe/edit.php @@ -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(