aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-10-06 03:54:41 +0000
committerlpsolit%gmail.com <>2007-10-06 03:54:41 +0000
commit9ecc858489649755b2d4e90c54a59f038551c418 (patch)
treeee9900240be7b6b1120f729046e044718033e428 /config.cgi
parentBug 398798: checksetup.pl 'commands to install' should quote Perl module names (diff)
downloadbugzilla-9ecc858489649755b2d4e90c54a59f038551c418.tar.gz
bugzilla-9ecc858489649755b2d4e90c54a59f038551c418.tar.bz2
bugzilla-9ecc858489649755b2d4e90c54a59f038551c418.zip
Bug 374981: Custom field single select options not available in config.cgi rdf - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'config.cgi')
-rwxr-xr-xconfig.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.cgi b/config.cgi
index c320ae515..29d1cb8cb 100755
--- a/config.cgi
+++ b/config.cgi
@@ -55,6 +55,9 @@ $vars->{'op_sys'} = get_legal_field_values('op_sys');
$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'} =
+ [Bugzilla->get_fields({custom => 1, obsolete => 0, type => FIELD_TYPE_SINGLE_SELECT}),
+ Bugzilla->get_fields({custom => 1, obsolete => 0, type => FIELD_TYPE_MULTI_SELECT})];
# Include a list of product objects.
if ($cgi->param('product')) {