diff options
author | lpsolit%gmail.com <> | 2007-05-26 08:01:21 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-05-26 08:01:21 +0200 |
commit | 004d9a78bc692f024f95363966be1d959b59cb93 (patch) | |
tree | a762c0b99e130d3a4aeffd141bb8b136eb00ff80 /Bugzilla | |
parent | ceaa62caa90f39de04c5649c70d7902d58b1f3ed (diff) | |
download | bugzilla-004d9a78bc692f024f95363966be1d959b59cb93.tar.gz bugzilla-004d9a78bc692f024f95363966be1d959b59cb93.tar.xz |
Bug 381737: Unable to get legal values of custom fields via XML-RPC - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/WebService/Bug.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index a632ffaf0..a2710c482 100755 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -130,6 +130,8 @@ sub legal_values { my @custom_select = Bugzilla->get_fields({ type => FIELD_TYPE_SINGLE_SELECT }); + # We only want field names. + @custom_select = map {$_->name} @custom_select; my $values; if (grep($_ eq $field, GLOBAL_SELECT_FIELDS, @custom_select)) { |