aboutsummaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-04-04 16:56:05 -0700
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-04-04 16:56:05 -0700
commit05ddc23d42b9d5b8ebbba1e5904d836343d98fab (patch)
tree233160f2173d9f1c65aa232a70884f6ff93e80af /report.cgi
parentb043f1bb53bd26a4b001fe92c88ae981a1e7686d (diff)
downloadbugs-05ddc23d42b9d5b8ebbba1e5904d836343d98fab.tar
bugs-05ddc23d42b9d5b8ebbba1e5904d836343d98fab.tar.gz
bugs-05ddc23d42b9d5b8ebbba1e5904d836343d98fab.tar.bz2
bugs-05ddc23d42b9d5b8ebbba1e5904d836343d98fab.tar.xz
bugs-05ddc23d42b9d5b8ebbba1e5904d836343d98fab.zip
Fix a comment location in report.cgi.
https://bugzilla.mozilla.org/show_bug.cgi?id=617641
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) {