diff options
author | mkanat%bugzilla.org <> | 2009-08-12 01:42:32 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-08-12 01:42:32 +0000 |
commit | bf68d5918c2eea9b123ee36c7f3541cc1154e060 (patch) | |
tree | bb2dee504ca5a4e621a505b694284aa30f6c3866 /post_bug.cgi | |
parent | 73bb17590cf3f15166d20b028977d0c61a487b1e (diff) | |
download | bugs-bf68d5918c2eea9b123ee36c7f3541cc1154e060.tar bugs-bf68d5918c2eea9b123ee36c7f3541cc1154e060.tar.gz bugs-bf68d5918c2eea9b123ee36c7f3541cc1154e060.tar.bz2 bugs-bf68d5918c2eea9b123ee36c7f3541cc1154e060.tar.xz bugs-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-x | post_bug.cgi | 6 |
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, |