From 3cea91884b28b52df4e38f2ba88c00b65071a81f Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 25 Oct 2008 04:11:30 +0000 Subject: Bug 291433: Ability to have custom fields whose visibility depends on the values of other fields Patch By Max Kanat-Alexander r=bbaetz, a=mkanat --- config.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config.cgi') diff --git a/config.cgi b/config.cgi index ebdf71241..c229dacd6 100755 --- a/config.cgi +++ b/config.cgi @@ -56,8 +56,7 @@ $vars->{'keyword'} = [map($_->name, Bugzilla::Keyword->get_all)]; $vars->{'resolution'} = get_legal_field_values('resolution'); $vars->{'status'} = get_legal_field_values('bug_status'); $vars->{'custom_fields'} = - [ grep {$_->type == FIELD_TYPE_SINGLE_SELECT || $_->type == FIELD_TYPE_MULTI_SELECT} - Bugzilla->active_custom_fields ]; + [ grep {$_->is_select} Bugzilla->active_custom_fields ]; # Include a list of product objects. if ($cgi->param('product')) { -- cgit v1.2.3-24-g4f1b