X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=tools%2Fmodborrowers.pl;h=5c8e1b61c23d130ac68fd9834816dd23b458ce02;hb=75e6c204a4b04c95bb73d1d6c5307fe6d71a4148;hp=3b83f2bb35df7402c71ba092ea2659bf2af2a0ba;hpb=be0bf8731a2361f4fabbfff8059fef60dd364d88;p=koha.git diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl index 3b83f2bb35..5c8e1b61c2 100755 --- a/tools/modborrowers.pl +++ b/tools/modborrowers.pl @@ -148,7 +148,7 @@ if ( $op eq 'show' ) { # Construct drop-down list values my $branches = Koha::Libraries->search({}, { order_by => ['branchname'] })->unblessed; my @branches_option; - push @branches_option, { value => $_->{value}, lib => $_->{branchname} } for @$branches; + push @branches_option, { value => $_->{branchcode}, lib => $_->{branchname} } for @$branches; unshift @branches_option, { value => "", lib => "" }; my @categories_option; push @categories_option, { value => $_->categorycode, lib => $_->description } for @patron_categories;