summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-04-05 01:56:05 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-04-05 01:56:05 +0200
commit05ddc23d42b9d5b8ebbba1e5904d836343d98fab (patch)
tree233160f2173d9f1c65aa232a70884f6ff93e80af
parentb043f1bb53bd26a4b001fe92c88ae981a1e7686d (diff)
downloadbugzilla-05ddc23d42b9d5b8ebbba1e5904d836343d98fab.tar.gz
bugzilla-05ddc23d42b9d5b8ebbba1e5904d836343d98fab.tar.xz
Fix a comment location in report.cgi.
https://bugzilla.mozilla.org/show_bug.cgi?id=617641
-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) {