Correcting two code typos (USER_VIEW should be VIEW_USER in Actor.pm
and language string typo in test_notification.tt2).
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
return $e->event unless $e->checkauth;
if ($e->requestor->id != $$args{target}) {
my $home_ou = $e->retrieve_actor_user($$args{target})->home_ou;
- return $e->die_event unless $home_ou && $e->allowed('USER_VIEW', $home_ou);
+ return $e->die_event unless $home_ou && $e->allowed('VIEW_USER', $home_ou);
}
my $event_hook = $$args{hook} or return $e->event;
[% l('Message Sent') %]
</div>
<div>
- [% l('If you do not receive ') %] [% IF message_type == "email" %]
- [% l(a'n email') %]
- [% ELSIF message_type == "sms" %]
- [% l(' text') %]
- [% END %] [% l('message, contact your Library for more information.') %]
+ [% l('If you do not receive ') %] [% IF message_type == "email" %]
+ [% l('an email') %]
+ [% ELSIF message_type == "sms" %]
+ [% l('a text') %]
+ [% END %] [% l(' message, contact your Library for more information.') %]
</div>
<div>[% ctx.user.home_ou.name %]</div>