From bf68d5918c2eea9b123ee36c7f3541cc1154e060 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 12 Aug 2009 01:42:32 +0000 Subject: Bug 509108: Don't require a bug_list parameter to show the bug template (create the last_bug_list global template parameter) Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- show_bug.cgi | 8 -------- 1 file changed, 8 deletions(-) (limited to 'show_bug.cgi') diff --git a/show_bug.cgi b/show_bug.cgi index c0e543234..4a530269e 100755 --- a/show_bug.cgi +++ b/show_bug.cgi @@ -103,14 +103,6 @@ $vars->{'marks'} = \%marks; my @bugids = map {$_->bug_id} grep {!$_->error} @bugs; $vars->{'bugids'} = join(", ", @bugids); -# Next bug in list (if there is one) -my @bug_list; -if ($cgi->cookie("BUGLIST")) { - @bug_list = split(/:/, $cgi->cookie("BUGLIST")); -} - -$vars->{'bug_list'} = \@bug_list; - # Work out which fields we are displaying (currently XML only.) # If no explicit list is defined, we show all fields. We then exclude any # on the exclusion list. This is so you can say e.g. "Everything except -- cgit v1.2.3-24-g4f1b