diff options
author | David Lawrence <dkl@mozilla.com> | 2014-03-31 16:10:09 +0000 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-03-31 16:10:09 +0000 |
commit | 8149a906bb2685ee6c0db80e447c1a9e13ada7f4 (patch) | |
tree | 5baf8548fd3af962ff608cceb2ebd718fc2d8ab2 /Bugzilla | |
parent | 1f20953a72a1c653fe4f4ea0a77884d91f2fffe8 (diff) | |
download | bugs-8149a906bb2685ee6c0db80e447c1a9e13ada7f4.tar bugs-8149a906bb2685ee6c0db80e447c1a9e13ada7f4.tar.gz bugs-8149a906bb2685ee6c0db80e447c1a9e13ada7f4.tar.bz2 bugs-8149a906bb2685ee6c0db80e447c1a9e13ada7f4.tar.xz bugs-8149a906bb2685ee6c0db80e447c1a9e13ada7f4.zip |
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')
-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 => { |