summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpreed%sigkill.com <>2003-07-18 07:54:25 +0200
committerpreed%sigkill.com <>2003-07-18 07:54:25 +0200
commitfa4b44c6e7b9addb051daa03b0e1a9539a0284ab (patch)
treed4ac04f3e89146567a91bc4cfc5c13ed8fc694c7
parent675c4804ffc1f5adb864c1c015b1d1423415e43c (diff)
downloadbugzilla-fa4b44c6e7b9addb051daa03b0e1a9539a0284ab.tar.gz
bugzilla-fa4b44c6e7b9addb051daa03b0e1a9539a0284ab.tar.xz
Bug 82172 - Don't allow empty bug summaries. Patch by jocuri@softhome.net (Vlad Dascalu), r=kiko, a=justdave
-rwxr-xr-xprocess_bug.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 45974d465..e9684eced 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -523,6 +523,10 @@ if (defined $::FORM{'id'}) {
\@{$::versions{$::FORM{'product'}}});
CheckFormField(\%::FORM, 'op_sys', \@::legal_opsys);
CheckFormFieldDefined(\%::FORM, 'longdesclength');
+
+ if (trim($::FORM{'short_desc'}) eq "") {
+ ThrowUserError("require_summary");
+ }
}
my $action = '';