Bug 17698: (RM follow-up) Pass lang variable so letter can be translated
authorNick Clemens <nick@bywatersolutions.com>
Wed, 22 May 2019 14:37:53 +0000 (14:37 +0000)
committerroot <root@3a587d3cf21c>
Thu, 23 May 2019 15:43:54 +0000 (15:43 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

opac/opac-issue-note.pl

index f97acdb..f61b33c 100755 (executable)
@@ -74,6 +74,7 @@ if ( $action eq 'issuenote' && C4::Context->preference('AllowCheckoutNotes') ) {
                 module => 'circulation',
                 letter_code => 'CHECKOUT_NOTE',
                 branchcode => $branch,
+                lang => $patron->lang,
                 tables => {
                     'biblio' => $biblio->biblionumber,
                     'borrowers' => $borrowernumber,