]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365739: An error is thrown when attaching a too big file on bug creation - Patch...
authorlpsolit%gmail.com <>
Thu, 4 Jan 2007 00:23:14 +0000 (00:23 +0000)
committerlpsolit%gmail.com <>
Thu, 4 Jan 2007 00:23:14 +0000 (00:23 +0000)
Bugzilla/Attachment.pm

index 95d4026ad7abf2b79ce3e0fd37428da663756c6e..fe1b781c9a3af370c1f5a0c0c4e3757e837b8349 100644 (file)
@@ -749,7 +749,7 @@ sub insert_attachment_for_bug {
         unless ($cgi->param('ispatch')) {
             $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');
 
         # These are inserted using placeholders so no need to panic