From cdb91ea6304f238da0b468cd3ae03fded4b92023 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 21 Oct 2013 18:34:42 +0000 Subject: [PATCH] Bug 10723: remove one last instance of GetPendingOrders() Signed-off-by: Galen Charlton --- acqui/transferorder.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/acqui/transferorder.pl b/acqui/transferorder.pl index 04e11e6b2b..fe4968afc7 100755 --- a/acqui/transferorder.pl +++ b/acqui/transferorder.pl @@ -101,7 +101,10 @@ if( $basketno && $ordernumber) { ); } elsif ( $bookselleridfrom && !defined $ordernumber) { # Show pending orders - my $pendingorders = GetPendingOrders($bookselleridfrom); + my $pendingorders = SearchOrders({ + booksellerid => $bookselleridfrom, + pending => 1, + }); my $orderscount = scalar @$pendingorders; my @ordersloop = (); for( my $i = 0 ; $i < $orderscount ; $i++ ){ -- 2.39.5