Fix a warning in log

Using a hash as a reference is deprecated

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Frédéric Demians 2010-04-18 11:53:33 +02:00 committed by Galen Charlton
parent 32f058aaee
commit 1675c8fb01

View file

@ -237,7 +237,7 @@ sub printbasketgrouppdf{
}
}
}
%orders->{$basket->{basketno}}=\@ba_orders;
$orders{$basket->{basketno}}=\@ba_orders;
}
print $input->header( -type => 'application/pdf', -attachment => $basketgroup->{name}.'.pdf' );
my $pdf = printpdf($basketgroup, $bookseller, $baskets, \%orders, $bookseller->{gstrate} || C4::Context->preference("gist")) || die "pdf generation failed";