diff options
author | David Lawrence <dkl@mozilla.com> | 2014-03-31 18:10:09 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-03-31 18:10:09 +0200 |
commit | 8149a906bb2685ee6c0db80e447c1a9e13ada7f4 (patch) | |
tree | 5baf8548fd3af962ff608cceb2ebd718fc2d8ab2 /Bugzilla/Attachment.pm | |
parent | 1f20953a72a1c653fe4f4ea0a77884d91f2fffe8 (diff) | |
download | bugzilla-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.pm | 3 |
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 => { |