From c7ff21097b1a8307a1613c6b695ae700f2bda6a0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 4 Jan 2007 00:23:14 +0000 Subject: Bug 365739: An error is thrown when attaching a too big file on bug creation - Patch by Frédéric Buclin r/a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/Attachment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Attachment.pm') diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 95d4026ad..fe1b781c9 100644 --- a/Bugzilla/Attachment.pm +++ b/Bugzilla/Attachment.pm @@ -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 -- cgit v1.2.3-24-g4f1b