diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 4ddd75fe9c..db70a95391 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2088,7 +2088,7 @@ sub MarkIssueReturned { # We need to check if the anonymous patron exist, Koha will fail loudly if it does not # Note that a warning should appear on the about page (System information tab). $anonymouspatron = C4::Context->preference('AnonymousPatron'); - die "Fatal error: the patron ($borrowernumber) has requested a privacy on returning item but the AnonymousPatron pref is not set correctly" + die "Fatal error: the patron ($borrowernumber) has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or not set correctly." unless C4::Members::GetMember( borrowernumber => $anonymouspatron ); } my $dbh = C4::Context->dbh; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index bde0116074..13515b8321 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -590,7 +590,7 @@ No patron matched [% message %]
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] -
Error: This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.
+
Error: This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.
[% END %] [% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 40a366367e..aa43b75a0e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -119,7 +119,7 @@ $(document).ready(function () {
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] -
Error: This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.
+
Error: This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %]
Error: The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.
[% END %]