From: Max Kanat-Alexander Date: Mon, 4 Apr 2011 23:56:05 +0000 (-0700) Subject: Fix a comment location in report.cgi. X-Git-Tag: bugzilla-4.1.2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05ddc23d42b9d5b8ebbba1e5904d836343d98fab;p=thirdparty%2Fbugzilla.git Fix a comment location in report.cgi. https://bugzilla.mozilla.org/show_bug.cgi?id=617641 --- diff --git a/report.cgi b/report.cgi index 7492619736..8d80b192fb 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) {