Commit c7ff2109 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 365739: An error is thrown when attaching a too big file on bug creation -…

Bug 365739: An error is thrown when attaching a too big file on bug creation - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=justdave
parent 5e359ecf
...@@ -749,7 +749,7 @@ sub insert_attachment_for_bug { ...@@ -749,7 +749,7 @@ sub insert_attachment_for_bug {
unless ($cgi->param('ispatch')) { unless ($cgi->param('ispatch')) {
$class->validate_content_type($throw_error) || return 0; $class->validate_content_type($throw_error) || return 0;
} }
$data = _validate_data($hr_vars, $throw_error) || return 0; $data = _validate_data($throw_error, $hr_vars) || return 0;
$contenttype = $cgi->param('contenttype'); $contenttype = $cgi->param('contenttype');
# These are inserted using placeholders so no need to panic # These are inserted using placeholders so no need to panic
......
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