From: David Lawrence Date: Mon, 31 Mar 2014 16:10:09 +0000 (+0000) Subject: Bug 989633 - Unable to change content type using Bug.update_attachment if attachment... X-Git-Tag: bugzilla-4.5.3~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8149a906bb2685ee6c0db80e447c1a9e13ada7f4;p=thirdparty%2Fbugzilla.git Bug 989633 - Unable to change content type using Bug.update_attachment if attachment previously set to is_patch = 1 r=glob,a=justdave --- diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm index 8aa2c3c630..79b7f1213e 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 => {