summaryrefslogtreecommitdiffstats
path: root/sanitycheck.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'sanitycheck.cgi')
-rwxr-xr-xsanitycheck.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 33890be78..08fbbfb8f 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -234,7 +234,7 @@ while (@row = FetchSQLData()) {
Alert("Duplicate entry in keyworddefs for id $id");
}
$keywordids{$id} = 1;
- if ($name =~ /,/ || $name =~ /^\s/ || $name =~ /\s$/) {
+ if ($name =~ /[\s,]/) {
Alert("Bogus name in keyworddefs for id $id");
}
}