From 1677f0a299ce3ac919e950e9b70b3da4376af010 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 21 May 2020 15:35:33 +0200 Subject: [PATCH] Bug 25567: Fix typo categorycode vs category_code Well, this is actually the real root of the error! --- tools/modborrowers.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index 6c53a23912..67f5b0175c 100755 --- a/tools/modborrowers.pl +++ b/tools/modborrowers.pl @@ -132,7 +132,7 @@ if ( $op eq 'show' ) { my $category_code = $attr_type->category_code; my ( $category_lib ) = map { - ( defined $category_code and $attr_type->categorycode eq $category_code ) ? $attr_type->description : () + ( defined $category_code and $attr_type->category_code eq $category_code ) ? $attr_type->description : () } @patron_categories; push @patron_attributes_codes, { -- 2.20.1