From d8cdceb2613bad6e43826233f0c635c0e34d718b Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 28 Dec 2016 15:10:26 +0000 Subject: [PATCH] Bug 13726 - (QA followup) Fix vendor retrieval in invoices.pl Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- acqui/invoices.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acqui/invoices.pl b/acqui/invoices.pl index c060cfd831..2d117464c9 100755 --- a/acqui/invoices.pl +++ b/acqui/invoices.pl @@ -95,14 +95,14 @@ my $suppliers_loop = []; my $suppliername; foreach (@suppliers) { my $selected = 0; - if ($supplierid && $supplierid == $_->{id} ) { + if ($supplierid && $supplierid == $_->id ) { $selected = 1; - $suppliername = $_->{name}; + $suppliername = $_->name; } push @{$suppliers_loop}, { - suppliername => $_->{name}, - booksellerid => $_->{id}, + suppliername => $_->name, + booksellerid => $_->id, selected => $selected, }; } -- 2.39.5