From 1cebabc8b924be773783b9c3b9d7e9f5f4fda91c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Thu, 14 Oct 2010 01:36:31 +0200 Subject: [PATCH] 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(-) diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 78e92eca01..50e44fcd24 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 = -- 2.47.2