From 185d88bac6745f7b76799600f6fd0a16cf09ac93 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 7 May 2020 17:05:32 +0200 Subject: [PATCH] Bug 20443: (follow-up) Remove C4::Members::AttributeTypes --- members/memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index be5cb22241..cfdc06032e 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -406,7 +406,7 @@ if ($op eq 'save' || $op eq 'insert'){ eval {$attribute->check_unique_id}; if ( $@ ) { push @errors, "ERROR_extended_unique_id_failed"; - my $attr_type = Koha::Patron::Attribute::Types->find($attr->code); + my $attr_type = Koha::Patron::Attribute::Types->find($attr->{code}); $template->param( ERROR_extended_unique_id_failed_code => $attr->{code}, ERROR_extended_unique_id_failed_value => $attr->{attribute}, -- 2.39.5