]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 82172 - Don't allow empty bug summaries. Patch by jocuri@softhome.net (Vlad Dasca...
authorpreed%sigkill.com <>
Fri, 18 Jul 2003 05:54:25 +0000 (05:54 +0000)
committerpreed%sigkill.com <>
Fri, 18 Jul 2003 05:54:25 +0000 (05:54 +0000)
process_bug.cgi

index 45974d4659f8c080fad71f46a16906e3284b0a33..e9684ecedd590783aee433ba8e4e41b2ef125a57 100755 (executable)
@@ -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 = '';