summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-03-31 18:08:36 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-03-31 18:08:36 +0200
commit18b981b96026b8f9b31d397faf4811d7d27e55a6 (patch)
tree83f87d4bc5164a17b0ba7887994cc64565d85e40 /Bugzilla
parent16044938901286d9f2e9d4e2b3e91b16eba73284 (diff)
downloadbugzilla-18b981b96026b8f9b31d397faf4811d7d27e55a6.tar.gz
bugzilla-18b981b96026b8f9b31d397faf4811d7d27e55a6.tar.xz
Bug 989633 - Unable to change content type using Bug.update_attachment if attachment previously set to is_patch = 1
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Attachment.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index f4f325908..1c8f872e7 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -115,7 +115,8 @@ use constant VALIDATORS => {
};
use constant VALIDATOR_DEPENDENCIES => {
- mimetype => ['ispatch'],
+ content_type => ['ispatch'],
+ mimetype => ['ispatch'],
};
use constant UPDATE_VALIDATORS => {