]> 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:34:26 +0000 (01:34 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 13 Oct 2010 23:34:26 +0000 (01:34 +0200)
r/a=mkanat

Bugzilla/User.pm

index 8f056dca68c90510f4bebd42a3ef7796f05ecb28..1dc03a9c7cb48c6bdb81c7bc42b3f3f7a0506eca 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 =