summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-12-27 23:13:38 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-12-27 23:13:38 +0100
commit9cfe048d1298e7be8db9b5c2a88abaae114b23a3 (patch)
tree9c2e3c4cd8db31435d53f14e90a9057874192f5d /Bugzilla/User.pm
parentf573509ba734f29863500dc1c014fd43990e6291 (diff)
downloadbugzilla-9cfe048d1298e7be8db9b5c2a88abaae114b23a3.tar.gz
bugzilla-9cfe048d1298e7be8db9b5c2a88abaae114b23a3.tar.xz
Bug 615574: Make every search done by buglist.cgi create a list_id, so that
even Saved Searches get "last list" support. r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r--Bugzilla/User.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 47f923f20..d15113959 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -408,8 +408,8 @@ sub recent_search_for {
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 =
- eval { Bugzilla::Search::Recent->check({ id => $list_id }) };
+ my $search = Bugzilla::Search::Recent->check_quietly(
+ { id => $list_id });
return $search if $search;
}