diff options
author | terry%mozilla.org <> | 1999-11-19 23:50:57 +0100 |
---|---|---|
committer | terry%mozilla.org <> | 1999-11-19 23:50:57 +0100 |
commit | 963d7f616ae746741d05fadeafc89a953cee73a1 (patch) | |
tree | da42efe64219aa48dfef84045b525b08b1ce9f77 /post_bug.cgi | |
parent | cd85543e439f5696cfe9f51d2a58bd31e0daa9aa (diff) | |
download | bugzilla-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-x | post_bug.cgi | 7 |
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=" . |