Commit 963d7f61 authored by terry%mozilla.org's avatar terry%mozilla.org

Fixed bug 4889 -- don't allow new bugs to be submitted with a blank summary.

parent cd85543e
...@@ -65,6 +65,13 @@ if (!defined $::FORM{'component'} || $::FORM{'component'} eq "") { ...@@ -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; my $forceAssignedOK = 0;
if ($::FORM{'assigned_to'} eq "") { if ($::FORM{'assigned_to'} eq "") {
SendSQL("select initialowner from components where program=" . SendSQL("select initialowner from components where program=" .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment