summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-10-14 01:34:26 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-10-14 01:34:26 +0200
commit8cfb548a7897269668cc5879025546e4ae8ac500 (patch)
tree47bb11e4f88b900a1cefae6d13f881a48e595495
parent657ea46427113c7e2424414455a384824d56a809 (diff)
downloadbugzilla-8cfb548a7897269668cc5879025546e4ae8ac500.tar.gz
bugzilla-8cfb548a7897269668cc5879025546e4ae8ac500.tar.xz
Bug 600616: show_bug.cgi: Invalid parameter passed to Bugzilla::Search::Recent::_init (cookie)
r/a=mkanat
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 8f056dca6..1dc03a9c7 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -405,7 +405,7 @@ sub recent_search_for {
}
}
- if ($list_id) {
+ if ($list_id && $list_id ne 'cookie') {
# If we got a bad list_id (either some other user's or an expired
# one) don't crash, just don't return that list.
my $search =