From 206b2c780eaccc768d9073b4841e9543a9659754 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 --- members/memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index 852f402bb5..f08a29f877 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -962,7 +962,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.20.1