diff options
author | mkanat%bugzilla.org <> | 2008-10-25 04:11:30 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-10-25 04:11:30 +0000 |
commit | 3cea91884b28b52df4e38f2ba88c00b65071a81f (patch) | |
tree | c0f451235176b2b542a38b0c935dcddf0453a1ee /config.cgi | |
parent | Bug 455584 - Use bz_crypt everywhere instead of the crypt() function (diff) | |
download | bugzilla-3cea91884b28b52df4e38f2ba88c00b65071a81f.tar.gz bugzilla-3cea91884b28b52df4e38f2ba88c00b65071a81f.tar.bz2 bugzilla-3cea91884b28b52df4e38f2ba88c00b65071a81f.zip |
Bug 291433: Ability to have custom fields whose visibility depends on the values of other fields
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
Diffstat (limited to 'config.cgi')
-rwxr-xr-x | config.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
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')) { |