@@ -, +, @@ does not work and click on the 'New patron attribute type' button. You cannot create a new patron attribute type and you get the following Software error: Not a HASH reference at [...] --- admin/patron-attr-types.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/admin/patron-attr-types.pl +++ a/admin/patron-attr-types.pl @@ -86,10 +86,10 @@ sub add_attribute_type_form { my $branches = Koha::Libraries->search( {}, { order_by => ['branchname'] } )->unblessed; my @branches_loop; - foreach my $branch (sort keys %$branches) { + foreach my $branch (@$branches) { push @branches_loop, { - branchcode => $$branches{$branch}{branchcode}, - branchname => $$branches{$branch}{branchname}, + branchcode => $branch->{branchcode}, + branchname => $branch->{branchname}, }; } --