From: Frédéric Buclin Date: Wed, 13 Oct 2010 23:36:31 +0000 (+0200) Subject: Bug 600616: show_bug.cgi: Invalid parameter passed to Bugzilla::Search::Recent::_init... X-Git-Tag: bugzilla-4.0rc1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cebabc8b924be773783b9c3b9d7e9f5f4fda91c;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 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 =