summaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-xshow_bug.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/show_bug.cgi b/show_bug.cgi
index 37d31efe0..bc6faa8a5 100755
--- a/show_bug.cgi
+++ b/show_bug.cgi
@@ -99,6 +99,9 @@ $vars->{'bugs'} = \@bugs;
$vars->{'marks'} = \%marks;
$vars->{'use_keywords'} = 1 if Bugzilla::Keyword::keyword_count();
+my @bugids = map {$_->bug_id} @bugs;
+$vars->{'bugids'} = join(", ", @bugids);
+
# Next bug in list (if there is one)
my @bug_list;
if ($cgi->cookie("BUGLIST")) {