summaryrefslogtreecommitdiffstats
path: root/editflagtypes.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-xeditflagtypes.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/editflagtypes.cgi b/editflagtypes.cgi
index 8b51be326..a48dc7578 100755
--- a/editflagtypes.cgi
+++ b/editflagtypes.cgi
@@ -444,6 +444,7 @@ sub validateID {
sub validateName {
$::FORM{'name'}
+ && $::FORM{'name'} !~ /[ ,]/
&& length($::FORM{'name'}) <= 50
|| ThrowUserError("flag_type_name_invalid", { name => $::FORM{'name'} });
}