summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-03-31 18:10:09 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-03-31 18:10:09 +0200
commit8149a906bb2685ee6c0db80e447c1a9e13ada7f4 (patch)
tree5baf8548fd3af962ff608cceb2ebd718fc2d8ab2 /Bugzilla/Attachment.pm
parent1f20953a72a1c653fe4f4ea0a77884d91f2fffe8 (diff)
downloadbugzilla-8149a906bb2685ee6c0db80e447c1a9e13ada7f4.tar.gz
bugzilla-8149a906bb2685ee6c0db80e447c1a9e13ada7f4.tar.xz
Bug 989633 - Unable to change content type using Bug.update_attachment if attachment previously set to is_patch = 1
r=glob,a=justdave
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r--Bugzilla/Attachment.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index 8aa2c3c63..79b7f1213 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -98,7 +98,8 @@ use constant VALIDATORS => {
};
use constant VALIDATOR_DEPENDENCIES => {
- mimetype => ['ispatch'],
+ content_type => ['ispatch'],
+ mimetype => ['ispatch'],
};
use constant UPDATE_VALIDATORS => {