removing 2 warnings

This commit is contained in:
Paul Poulain 2009-06-23 12:54:04 +02:00 committed by Henri-Damien LAURENT
parent a84c939253
commit aef645e9e5

View file

@ -276,7 +276,7 @@ if (! $op ) {
push(@ba_order, undef);
}
if ($ord->{itemtype}){
push(@ba_order, $itemtypes->{$bib->{itemtype}}->{description});
push(@ba_order, $itemtypes->{$bib->{itemtype}}->{description}) if $bib->{itemtype};
} else {
push(@ba_order, undef);
}
@ -286,7 +286,7 @@ if (! $op ) {
push(@ba_order, $ord->{$key}); #Order lines
}
push(@ba_order, $bookseller->{discount});
push(@ba_order, $bookseller->{gstrate}*100 || C4::Context->preference("gist"));
push(@ba_order, $bookseller->{gstrate}*100 || C4::Context->preference("gist") || 0);
push(@ba_orders, \@ba_order);
}
}