From 963d7f616ae746741d05fadeafc89a953cee73a1 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Fri, 19 Nov 1999 22:50:57 +0000 Subject: Fixed bug 4889 -- don't allow new bugs to be submitted with a blank summary. --- post_bug.cgi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/post_bug.cgi b/post_bug.cgi index fcbf9bab7..668baf2e7 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=" . -- cgit v1.2.1