summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-01-04 01:23:14 +0100
committerlpsolit%gmail.com <>2007-01-04 01:23:14 +0100
commitc7ff21097b1a8307a1613c6b695ae700f2bda6a0 (patch)
treecd5d3fa7aaf1fcd29af20149fc5dac21c6458225 /Bugzilla
parent5e359ecf55112103707ae59c1fee4d0ca3962ebf (diff)
downloadbugzilla-c7ff21097b1a8307a1613c6b695ae700f2bda6a0.tar.gz
bugzilla-c7ff21097b1a8307a1613c6b695ae700f2bda6a0.tar.xz
Bug 365739: An error is thrown when attaching a too big file on bug creation - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Attachment.pm2
1 files changed, 1 insertions, 1 deletions
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