Skip to content

Commit

Permalink
Fix something that doesn't work in some perl versions.
Browse files Browse the repository at this point in the history
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
  • Loading branch information
Nahuel Angelinetti authored and Galen Charlton committed Dec 11, 2008
1 parent 3ad6644 commit 877da48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virtualshelves/addbybiblionumber.pl
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ =head1 CGI PARAMETERS
my ($shelflist) = GetRecentShelves(1, $limit, $loggedinuser);
my @shelvesloop;
my %shelvesloop;
for my $shelf ( @{${@$shelflist}[0]} ) {
for my $shelf ( @{ $shelflist->[0] } ) {
push( @shelvesloop, $shelf->{shelfnumber} );
$shelvesloop{$shelf->{shelfnumber}} = $shelf->{shelfname};
}
# then open shelves...
my ($shelflist) = GetRecentShelves(3, $limit, undef);
for my $shelf ( @{${@$shelflist}[0]} ) {
for my $shelf ( @{ $shelflist->[0] } ) {
push( @shelvesloop, $shelf->{shelfnumber} );
$shelvesloop{$shelf->{shelfnumber}} = $shelf->{shelfname};
}
Expand Down

0 comments on commit 877da48

Please sign in to comment.