diff options
author | preed%sigkill.com <> | 2003-07-18 07:54:25 +0200 |
---|---|---|
committer | preed%sigkill.com <> | 2003-07-18 07:54:25 +0200 |
commit | fa4b44c6e7b9addb051daa03b0e1a9539a0284ab (patch) | |
tree | d4ac04f3e89146567a91bc4cfc5c13ed8fc694c7 | |
parent | 675c4804ffc1f5adb864c1c015b1d1423415e43c (diff) | |
download | bugzilla-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-x | process_bug.cgi | 4 |
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 = ''; |