Commit 065fa877 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 371774: process_bug.cgi should only validate longdesclength on mid-air…

Bug 371774: process_bug.cgi should only validate longdesclength on mid-air collision - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
parent 429fad79
......@@ -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',
......
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