summaryrefslogtreecommitdiffstats
path: root/show_bug.cgi
diff options
context:
space:
mode:
authorreed%reedloden.com <>2006-12-27 10:21:32 +0100
committerreed%reedloden.com <>2006-12-27 10:21:32 +0100
commit88bee1a22ccbd05f3814266239aff23da1e3ae9d (patch)
treea9f8d8d5c98b020f7d1ecf3eb952bbd62a71efa3 /show_bug.cgi
parent466c52b665db8840baab7c8ca2fc323cc0e2431c (diff)
downloadbugzilla-88bee1a22ccbd05f3814266239aff23da1e3ae9d.tar.gz
bugzilla-88bee1a22ccbd05f3814266239aff23da1e3ae9d.tar.xz
Bug 364835 - "current bug number should be filled in in "to bugs" input box to simplify tagging" [p=reed r=bkor a=justdave]
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")) {