View | Details | Raw Unified | Return to bug 17308
Collapse All | Expand All

(-)a/admin/patron-attr-types.pl (-4 / +3 lines)
Lines 86-95 sub add_attribute_type_form { Link Here
86
86
87
    my $branches = Koha::Libraries->search( {}, { order_by => ['branchname'] } )->unblessed;
87
    my $branches = Koha::Libraries->search( {}, { order_by => ['branchname'] } )->unblessed;
88
    my @branches_loop;
88
    my @branches_loop;
89
    foreach my $branch (sort keys %$branches) {
89
    foreach my $branch (@$branches) {
90
        push @branches_loop, {
90
        push @branches_loop, {
91
            branchcode => $$branches{$branch}{branchcode},
91
            branchcode => $branch->{branchcode},
92
            branchname => $$branches{$branch}{branchname},
92
            branchname => $branch->{branchname},
93
        };
93
        };
94
    }
94
    }
95
95
96
- 

Return to bug 17308