From c2b4c8aa6b4dfdc73b3d05e801b80225fa36ff6e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 3 Feb 2021 13:54:27 +0100 Subject: [PATCH] Bug 27454: Pass the arrayref Otherwise you mess with the following hash elements :) Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit e9195d166e8175044f6f76ff24ecc9399cf0abbe) Signed-off-by: Fridolin Somers (cherry picked from commit 206b2c780eaccc768d9073b4841e9543a9659754) Signed-off-by: Andrew Fuerste-Henry --- members/memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index 2f8363f1e9..87ad1505f9 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -958,7 +958,7 @@ sub patron_attributes_form { my $lib = $av->count ? $av->next->lib : $class; push @attribute_loop, { class => $class, - items => @{$items_by_class{$class}}, + items => $items_by_class{$class}, lib => $lib, } } -- 2.39.5