From 8cfb548a7897269668cc5879025546e4ae8ac500 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 14 Oct 2010 01:34:26 +0200 Subject: Bug 600616: show_bug.cgi: Invalid parameter passed to Bugzilla::Search::Recent::_init (cookie) r/a=mkanat --- Bugzilla/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/User.pm') 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 = -- cgit v1.2.3-24-g4f1b