Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
b043f1bb
Commit
b043f1bb
authored
Apr 04, 2011
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 617641: Using any of the "_realname" columns in report.cgi was throwing
an error. r=LpSolit, a=mkanat
parent
15358df9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
report.cgi
report.cgi
+4
-2
No files found.
report.cgi
View file @
b043f1bb
...
@@ -312,9 +312,11 @@ $template->process("$format->{'template'}", $vars)
...
@@ -312,9 +312,11 @@ $template->process("$format->{'template'}", $vars)
sub
get_names
{
sub
get_names
{
my
(
$names
,
$isnumeric
,
$field_name
)
=
@_
;
my
(
$names
,
$isnumeric
,
$field_name
)
=
@_
;
my
(
$field
,
@sorted
);
my
(
$field
,
@sorted
);
$field
=
Bugzilla::
Field
->
check
(
$field_name
)
if
$field_name
;
$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
)
{
if
(
$field
&&
$field
->
is_select
)
{
foreach
my
$value
(
@
{
$field
->
legal_values
})
{
foreach
my
$value
(
@
{
$field
->
legal_values
})
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment