diff options
author | David Lawrence <dkl@mozilla.com> | 2014-03-31 18:08:36 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-03-31 18:08:36 +0200 |
commit | 18b981b96026b8f9b31d397faf4811d7d27e55a6 (patch) | |
tree | 83f87d4bc5164a17b0ba7887994cc64565d85e40 /Bugzilla | |
parent | 16044938901286d9f2e9d4e2b3e91b16eba73284 (diff) | |
download | bugzilla-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.pm | 3 |
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 => { |