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
fc11e1a8
Commit
fc11e1a8
authored
Nov 25, 2013
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bustage due to bug 793963. Some very old bugs may have no comments
parent
77beed22
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Bug.pm
Bugzilla/Bug.pm
+2
-1
No files found.
Bugzilla/Bug.pm
View file @
fc11e1a8
...
...
@@ -3416,7 +3416,8 @@ sub comments {
$comment
->
{
count
}
=
$count
++
;
$comment
->
{
bug
}
=
$self
;
}
Bugzilla::
Comment
->
preload
(
$self
->
{
'comments'
});
# Some bugs may have no comments when upgrading old installations.
Bugzilla::
Comment
->
preload
(
$self
->
{
'comments'
})
if
$count
;
}
my
@comments
=
@
{
$self
->
{
'comments'
}
};
...
...
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