Bug 8612: Remove warnings from tests
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
273659cc03
commit
e3519f1538
1 changed files with 5 additions and 2 deletions
|
@ -315,8 +315,11 @@ sub GetBasketAsCSV {
|
|||
my $bd = GetBiblioData( $order->{'biblionumber'} );
|
||||
my @biblioitems = GetBiblioItemByBiblioNumber( $order->{'biblionumber'});
|
||||
for my $biblioitem (@biblioitems) {
|
||||
if ($biblioitem->{isbn} eq $order->{isbn}) {
|
||||
$order = {%$order, %$biblioitem};
|
||||
if ( $biblioitem->{isbn}
|
||||
and $order->{isbn}
|
||||
and $biblioitem->{isbn} eq $order->{isbn} )
|
||||
{
|
||||
$order = { %$order, %$biblioitem };
|
||||
}
|
||||
}
|
||||
if ($contract) {
|
||||
|
|
Loading…
Reference in a new issue