summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search/Recent.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Search/Recent.pm')
-rw-r--r--Bugzilla/Search/Recent.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search/Recent.pm b/Bugzilla/Search/Recent.pm
index 14d5ebef4..1498af034 100644
--- a/Bugzilla/Search/Recent.pm
+++ b/Bugzilla/Search/Recent.pm
@@ -87,7 +87,7 @@ sub check {
my $search = $class->SUPER::check(@_);
my $user = Bugzilla->user;
if ($search->user_id != $user->id) {
- ThrowUserError('object_not_found', { id => $search->id });
+ ThrowUserError('object_does_not_exist', { id => $search->id });
}
return $search;
}