]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fixed bug 4889 -- don't allow new bugs to be submitted with a blank summary.
authorterry%mozilla.org <>
Fri, 19 Nov 1999 22:50:57 +0000 (22:50 +0000)
committerterry%mozilla.org <>
Fri, 19 Nov 1999 22:50:57 +0000 (22:50 +0000)
post_bug.cgi

index fcbf9bab7e20884424d52bf21eced9925ac80fa5..668baf2e7680c509acac114c9cdb736b2daf3c48 100755 (executable)
@@ -65,6 +65,13 @@ if (!defined $::FORM{'component'} || $::FORM{'component'} eq "") {
 }
     
 
+if (!defined $::FORM{'short_desc'} || trim($::FORM{'short_desc'}) eq "") {
+    print "You must enter a summary for this bug.  Please hit the\n";
+    print "<B>Back</B> button and try again.\n";
+    exit;
+}
+
+
 my $forceAssignedOK = 0;
 if ($::FORM{'assigned_to'} eq "") {
     SendSQL("select initialowner from components where program=" .