From 065fa87760272df3ee648b8e09b24eba8d369944 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 11 Mar 2007 16:50:59 +0000 Subject: =?UTF-8?q?Bug=20371774:=20process=5Fbug.cgi=20should=20only=20val?= =?UTF-8?q?idate=20longdesclength=20on=20mid-air=20collision=20-=20Patch?= =?UTF-8?q?=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dwicked=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- process_bug.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index a8603dc44..6128bcf65 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -257,6 +257,8 @@ if (defined $cgi->param('id')) { if (defined $cgi->param('delta_ts') && $cgi->param('delta_ts') ne $delta_ts) { $vars->{'title_tag'} = "mid_air"; + ThrowCodeError('undefined_field', {field => 'longdesclength'}) + if !defined $cgi->param('longdesclength'); } } @@ -537,9 +539,6 @@ if (defined $cgi->param('id')) { $bug->_check_priority($cgi->param('priority'))); $cgi->param('bug_severity', $bug->_check_bug_severity($cgi->param('bug_severity'))); - - ThrowCodeError('undefined_field', { field => 'longdesclength' }) - if !defined $cgi->param('longdesclength'); $cgi->param('bug_file_loc', $bug->_check_bug_file_loc($cgi->param('bug_file_loc'))); $cgi->param('short_desc', -- cgit v1.2.1