]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 989633 - Unable to change content type using Bug.update_attachment if attachment...
authorDavid Lawrence <dkl@mozilla.com>
Mon, 31 Mar 2014 16:10:09 +0000 (16:10 +0000)
committerDavid Lawrence <dkl@mozilla.com>
Mon, 31 Mar 2014 16:10:09 +0000 (16:10 +0000)
r=glob,a=justdave

Bugzilla/Attachment.pm

index 8aa2c3c63087b0103b2a81ec24852925bd428641..79b7f1213e0ef4711b6a87118600fcc96869d178 100644 (file)
@@ -98,7 +98,8 @@ use constant VALIDATORS => {
 };
 
 use constant VALIDATOR_DEPENDENCIES => {
-    mimetype => ['ispatch'],
+    content_type => ['ispatch'],
+    mimetype     => ['ispatch'],
 };
 
 use constant UPDATE_VALIDATORS => {