From 0b672721995928bc47c2fe71a8de5ffe495cff5c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 25 Oct 2013 13:51:03 +0200 Subject: [PATCH] Bug 10613: (follow-up) fix typo supplierid vs booksellerid GetInvoiceDetails returns a hashref with a key named booksellerid, not supplierid. The bookseller was not retrieved from the DB and the listincgst value was always false. Signed-off-by: Jacek Ablewicz Signed-off-by: Katrin Fischer Signed-off-by: Galen Charlton --- acqui/invoice.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/invoice.pl b/acqui/invoice.pl index 1306363dd8..c59c490f3b 100755 --- a/acqui/invoice.pl +++ b/acqui/invoice.pl @@ -100,7 +100,7 @@ elsif ( $op && $op eq 'delete' ) { my $details = GetInvoiceDetails($invoiceid); -my ($bookseller) = GetBookSellerFromId($details->{supplierid}); +my $bookseller = GetBookSellerFromId($details->{booksellerid}); my @orders_loop = (); my $orders = $details->{'orders'}; my $qty_total; -- 2.20.1