From 18b981b96026b8f9b31d397faf4811d7d27e55a6 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 31 Mar 2014 16:08:36 +0000 Subject: Bug 989633 - Unable to change content type using Bug.update_attachment if attachment previously set to is_patch = 1 --- 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 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 => { -- cgit v1.2.3-24-g4f1b