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 a1a4aee4c2..3f0581abe0 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt
@@ -3,6 +3,7 @@
[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
+[% USE Categories %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Tools › Batch patron modification
@@ -164,7 +165,7 @@
[% borrower.surname | html %] |
[% borrower.firstname | html %] |
[% Branches.GetName( borrower.branchcode ) | html %] |
- [% borrower.category_description | html %] |
+ [% Categories.GetName(borrower.categorycode) | html %] |
[% borrower.city | html %] |
[% borrower.state | html %] |
[% borrower.zipcode | html %] |
diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl
index 7b8587ad04..fb672a631d 100755
--- a/tools/modborrowers.pl
+++ b/tools/modborrowers.pl
@@ -336,9 +336,7 @@ if ( $op eq 'do' ) {
for my $borrowernumber ( @borrowernumbers ) {
my $patron = Koha::Patrons->find( $borrowernumber );
if ( $patron ) {
- my $category_description = $patron->category->description;
$patron = $patron->unblessed;
- $patron->{category_description} = $category_description;
$patron->{patron_attributes} = C4::Members::Attributes::GetBorrowerAttributes( $patron->{borrowernumber} );
$max_nb_attr = scalar( @{ $patron->{patron_attributes} } )
if scalar( @{ $patron->{patron_attributes} } ) > $max_nb_attr;
@@ -360,7 +358,6 @@ if ( $op eq 'do' ) {
$template->param( borrowers => \@borrowers );
$template->param( attributes_header => \@attributes_header );
- $template->param( borrowers => \@borrowers );
$template->param( errors => \@errors );
} else {