From: Dylan William Hardison Date: Thu, 31 Jan 2019 17:41:56 +0000 (-0500) Subject: Bug 1512815 followup - incorrectly checking for exclude _custom X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=25fdfdfb6602cb566b13b0196617ca3346bac509;p=thirdparty%2Fbugzilla.git Bug 1512815 followup - incorrectly checking for exclude _custom --- diff --git a/Bugzilla.pm b/Bugzilla.pm index 3f91bda84..10f1e34c9 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -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) {