Search banana tree images in images/banana/
[platal.git] / 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(