From 8149a906bb2685ee6c0db80e447c1a9e13ada7f4 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 31 Mar 2014 16:10:09 +0000 Subject: Bug 989633 - Unable to change content type using Bug.update_attachment if attachment previously set to is_patch = 1 r=glob,a=justdave --- Bugzilla/Attachment.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Attachment.pm') 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 => { -- cgit v1.2.3-24-g4f1b