add link towards aexplaintations
[platal.git] / include / validations.inc.php
index aeb8b4b..95d57c0 100644 (file)
@@ -178,6 +178,9 @@ class Validate
                     return true;
                 }
             }
+            if (!strlen(trim(Env::v('comm')))) {
+                return true;
+            }
             $this->comments[] = Array(S::v('bestalias'), Env::v('comm'), $formid);
 
             // envoi d'un mail à hotliners