summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo/Extension.pm
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-04-28 14:56:35 +0200
committerByron Jones <glob@mozilla.com>2015-04-28 14:56:35 +0200
commit7bb734005d8b1ea66ae7c9cafae07b5b81a202e4 (patch)
tree869a9114c2251e634221343282c696aed7dc8b6c /extensions/Needinfo/Extension.pm
parent2d50ce5613761739d6548b3145db9c963c52f59d (diff)
downloadbugzilla-7bb734005d8b1ea66ae7c9cafae07b5b81a202e4.tar.gz
bugzilla-7bb734005d8b1ea66ae7c9cafae07b5b81a202e4.tar.xz
Bug 1159166: When I ask for review from someone who is not accepting reviews, my red request count in the top left becomes their request count
Diffstat (limited to 'extensions/Needinfo/Extension.pm')
-rw-r--r--extensions/Needinfo/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Needinfo/Extension.pm b/extensions/Needinfo/Extension.pm
index 0f3451e44..7d94fb9a4 100644
--- a/extensions/Needinfo/Extension.pm
+++ b/extensions/Needinfo/Extension.pm
@@ -187,7 +187,7 @@ sub _check_requestee {
? $requestee
: Bugzilla::User->new({ name => $requestee, cache => 1 });
if ($user->needinfo_blocked) {
- ThrowUserError('needinfo_blocked', { user => $user });
+ ThrowUserError('needinfo_blocked', { requestee => $user });
}
}