From: Frédéric Buclin Date: Wed, 13 Oct 2010 23:34:26 +0000 (+0200) Subject: Bug 600616: show_bug.cgi: Invalid parameter passed to Bugzilla::Search::Recent::_init... X-Git-Tag: bugzilla-4.1.1~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cfb548a7897269668cc5879025546e4ae8ac500;p=thirdparty%2Fbugzilla.git Bug 600616: show_bug.cgi: Invalid parameter passed to Bugzilla::Search::Recent::_init (cookie) r/a=mkanat --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 8f056dca68..1dc03a9c7c 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 =