diff options
author | terry%mozilla.org <> | 1999-11-19 22:50:57 +0000 |
---|---|---|
committer | terry%mozilla.org <> | 1999-11-19 22:50:57 +0000 |
commit | 963d7f616ae746741d05fadeafc89a953cee73a1 (patch) | |
tree | da42efe64219aa48dfef84045b525b08b1ce9f77 /post_bug.cgi | |
parent | cd85543e439f5696cfe9f51d2a58bd31e0daa9aa (diff) | |
download | bugs-963d7f616ae746741d05fadeafc89a953cee73a1.tar bugs-963d7f616ae746741d05fadeafc89a953cee73a1.tar.gz bugs-963d7f616ae746741d05fadeafc89a953cee73a1.tar.bz2 bugs-963d7f616ae746741d05fadeafc89a953cee73a1.tar.xz bugs-963d7f616ae746741d05fadeafc89a953cee73a1.zip |
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=" . |