diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Comment.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Comment.pm b/Bugzilla/Comment.pm index 30f0252b3..979019541 100644 --- a/Bugzilla/Comment.pm +++ b/Bugzilla/Comment.pm @@ -177,6 +177,9 @@ sub preload { foreach my $row (@$rows) { $comment_map{$row->[0]}->{tags} = [ split(/,/, $row->[1]) ]; } + foreach my $comment (@$comments) { + $comment->{tags} //= []; + } } ############################### |