Commit 05ddc23d authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Fix a comment location in report.cgi.

parent b043f1bb
......@@ -313,9 +313,9 @@ $template->process("$format->{'template'}", $vars)
sub get_names {
my ($names, $isnumeric, $field_name) = @_;
my ($field, @sorted);
# _realname fields aren't real Bugzilla::Field objects, but they are a
# valid axis, so we don't vailidate them as Bugzilla::Field objects.
$field = Bugzilla::Field->check($field_name)
# _realname fields aren't real Bugzilla::Field objects,
# but they are a valid axis.
if ($field_name && $field_name !~ /_realname$/);
if ($field && $field->is_select) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment