diff options
Diffstat (limited to 'extensions/Review')
-rw-r--r-- | extensions/Review/Extension.pm | 2 | ||||
-rw-r--r-- | extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm index 2dadd788a..eda12f734 100644 --- a/extensions/Review/Extension.pm +++ b/extensions/Review/Extension.pm @@ -456,7 +456,7 @@ sub _check_requestee { return unless $flag->type->name eq 'review' || $flag->type->name eq 'feedback'; if ($flag->requestee->reviews_blocked) { ThrowUserError('reviews_blocked', - { user => $flag->requestee, flagtype => $flag->type->name }); + { requestee => $flag->requestee, flagtype => $flag->type->name }); } } diff --git a/extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl index 4fcd47a68..112751076 100644 --- a/extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl +++ b/extensions/Review/template/en/default/hook/global/user-error-errors.html.tmpl @@ -25,7 +25,7 @@ [% ELSIF error == "reviews_blocked" %] [% title = "Request Blocked" %] - [% user.identity FILTER html %] is not currently accepting + [% requestee.identity FILTER html %] is not currently accepting '[% flagtype FILTER html %]' requests. [% END %] |