summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/report.cgi b/report.cgi
index 749261973..8d80b192f 100755
--- a/report.cgi
+++ b/report.cgi
@@ -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) {