diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt index dd5277b9ad..afb0dc7729 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt @@ -1,6 +1,7 @@ [% USE Koha %] [% USE KohaDates %] [% USE Branches %] +[% USE Categories %] [% INCLUDE 'doc-head-open.inc'%] Koha › Tools › Batch patron modification [% INCLUDE 'doc-head-close.inc' %] @@ -286,19 +287,19 @@ [% IF ( op == 'show' ) %] [% END %] - [% borrower.cardnumber %] - [% borrower.surname %] - [% borrower.firstname %] - [% Branches.GetName( borrower.branchcode ) %] - [% borrower.category_description %] - [% borrower.city %] - [% borrower.state %] - [% borrower.zipcode %] - [% borrower.country %] - [% borrower.dateenrolled | $KohaDates %] - [% borrower.dateexpiry | $KohaDates %] - [% borrower.borrowernotes %] - [% borrower.opacnote %] + [% borrower.cardnumber | html %] + [% borrower.surname | html %] + [% borrower.firstname | html %] + [% Branches.GetName( borrower.branchcode ) | html %] + [% Categories.GetName(borrower.categorycode) | html %] + [% borrower.city | html %] + [% borrower.state | html %] + [% borrower.zipcode | html %] + [% borrower.country | html %] + [% borrower.dateenrolled | $KohaDates %] + [% borrower.dateexpiry | $KohaDates %] + [% borrower.borrowernotes | html %] + [% borrower.opacnote | html %] [% FOREACH pa IN borrower.patron_attributes %] [% IF ( pa.code ) %] [% pa.code %]=[% pa.value %] diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index ba3562b276..fa75c18255 100755 --- a/tools/modborrowers.pl +++ b/tools/modborrowers.pl @@ -348,7 +348,6 @@ if ( $op eq 'do' ) { $template->param( borrowers => \@borrowers ); $template->param( attributes_header => \@attributes_header ); - $template->param( borrowers => \@borrowers ); $template->param( errors => \@errors ); } else {