]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1512815 followup - incorrectly checking for exclude _custom
authorDylan William Hardison <dylan@hardison.net>
Thu, 31 Jan 2019 17:41:56 +0000 (12:41 -0500)
committerGitHub <noreply@github.com>
Thu, 31 Jan 2019 17:41:56 +0000 (12:41 -0500)
Bugzilla.pm

index 3f91bda84d806762d798f0999ca6621987f1d185..10f1e34c91491e4c5aa9e88f14d141e522aa7314 100644 (file)
@@ -691,7 +691,7 @@ sub active_custom_fields {
   else {
     my $match_params = {custom => 1, obsolete => 0, skip_extensions => 1};
     if ($wants) {
-      if ($wants->exclude->{custom}) {
+      if ($wants->exclude_type->{custom}) {
         return ();
       }
       elsif ($wants->is_specific) {