From 067da68331c2502dd8a008f59f9142debcc3e30a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 24 Feb 2021 10:21:36 +0000 Subject: [PATCH] Bug 12224: (QA follow-up) Ensure patron language is respected Things have moved on a bit since this code was first written, we now expect a 'lang' parameter passed into GetPrepparedLetter to allow for translated notices. Simple fix, so a quick QA follow-up will suffice :) Signed-off-by: Martin Renvoize --- members/printslip.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/members/printslip.pl b/members/printslip.pl index 368788de95..da6ed8130f 100755 --- a/members/printslip.pl +++ b/members/printslip.pl @@ -105,6 +105,7 @@ if ( $print eq 'checkinslip' ) { module => 'circulation', letter_code => 'CHECKINSLIP', branchcode => $checkinslip_branch, + lang => $patron->lang, tables => { branches => $checkinslip_branch, borrowers => $borrowernumber, -- 2.20.1