GetTransactionDetails should get items details even for just one item.

https://rt.cpan.org/Public/Bug/Display.html?id=67386
This commit is contained in:
Dave Lambley 2011-11-11 17:35:55 +00:00
parent f9788b347b
commit 4c016629cf

View file

@ -124,7 +124,7 @@ sub GetTransactionDetails {
Options => 'Options',
} );
if( scalar(@$paymentitems) > 1 ) {
if( scalar(@$paymentitems) > 0 ) {
$response{PaymentItems} = $paymentitems;
}