aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-08-12 01:42:32 +0000
committermkanat%bugzilla.org <>2009-08-12 01:42:32 +0000
commitbf68d5918c2eea9b123ee36c7f3541cc1154e060 (patch)
treebb2dee504ca5a4e621a505b694284aa30f6c3866 /post_bug.cgi
parentBug 349336: Automatically log in the user when he chooses his password to cre... (diff)
downloadbugzilla-bf68d5918c2eea9b123ee36c7f3541cc1154e060.tar.gz
bugzilla-bf68d5918c2eea9b123ee36c7f3541cc1154e060.tar.bz2
bugzilla-bf68d5918c2eea9b123ee36c7f3541cc1154e060.zip
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 <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi6
1 files changed, 0 insertions, 6 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index c6e4006e0..f3b31e9a8 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -274,12 +274,6 @@ foreach my $i (@{$bug->dependson || []}, @{$bug->blocked || []}) {
push (@{$vars->{'sentmail'}}, { type => 'dep', id => $i, });
}
-my @bug_list;
-if ($cgi->cookie("BUGLIST")) {
- @bug_list = split(/:/, $cgi->cookie("BUGLIST"));
-}
-$vars->{'bug_list'} = \@bug_list;
-
if ($token) {
trick_taint($token);
$dbh->do('UPDATE tokens SET eventdata = ? WHERE token = ?', undef,