]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 600616: show_bug.cgi: Invalid parameter passed to Bugzilla::Search::Recent::_init...
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 13 Oct 2010 23:36:31 +0000 (01:36 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 13 Oct 2010 23:36:31 +0000 (01:36 +0200)
r/a=mkanat

Bugzilla/User.pm

index 78e92eca01f7d8aef047df06f818538b8308d920..50e44fcd24abccba271517f98a6da35fb098cb6b 100644 (file)
@@ -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 =