From: terry%mozilla.org <> Date: Fri, 19 Nov 1999 22:50:57 +0000 (+0000) Subject: Fixed bug 4889 -- don't allow new bugs to be submitted with a blank summary. X-Git-Tag: bugzilla-2.8~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=963d7f616ae746741d05fadeafc89a953cee73a1;p=thirdparty%2Fbugzilla.git Fixed bug 4889 -- don't allow new bugs to be submitted with a blank summary. --- diff --git a/post_bug.cgi b/post_bug.cgi index fcbf9bab7e..668baf2e76 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -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 "Back button and try again.\n"; + exit; +} + + my $forceAssignedOK = 0; if ($::FORM{'assigned_to'} eq "") { SendSQL("select initialowner from components where program=" .