summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-11-19 23:50:57 +0100
committerterry%mozilla.org <>1999-11-19 23:50:57 +0100
commit963d7f616ae746741d05fadeafc89a953cee73a1 (patch)
treeda42efe64219aa48dfef84045b525b08b1ce9f77 /post_bug.cgi
parentcd85543e439f5696cfe9f51d2a58bd31e0daa9aa (diff)
downloadbugzilla-963d7f616ae746741d05fadeafc89a953cee73a1.tar.gz
bugzilla-963d7f616ae746741d05fadeafc89a953cee73a1.tar.xz
Fixed bug 4889 -- don't allow new bugs to be submitted with a blank summary.
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi7
1 files changed, 7 insertions, 0 deletions
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 "<B>Back</B> button and try again.\n";
+ exit;
+}
+
+
my $forceAssignedOK = 0;
if ($::FORM{'assigned_to'} eq "") {
SendSQL("select initialowner from components where program=" .