From c823d1af132e9028100cb188c7d2231a810b9914 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 10 Nov 2016 14:07:18 +0000 Subject: [PATCH] Bug 15685 [QA Followup] - Bug qa script errors --- acqui/addorder.pl | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/acqui/addorder.pl b/acqui/addorder.pl index 937eec7..5a2185d 100755 --- a/acqui/addorder.pl +++ b/acqui/addorder.pl @@ -229,12 +229,9 @@ $orderinfo->{'list_price'} ||= 0; $orderinfo->{'uncertainprice'} ||= 0; $orderinfo->{subscriptionid} ||= undef; -my $basketno=$$orderinfo{basketno}; -my $basket = GetBasket($basketno); - -my $user = $input->remote_user; -my $basketno=$$orderinfo{basketno}; -my $basket = Koha::Acquisition::Baskets->find( $basketno ); +my $user = $input->remote_user; +my $basketno = $$orderinfo{basketno}; +my $basket = Koha::Acquisition::Baskets->find($basketno); # create, modify or delete biblio # create if $quantity>0 and $existing='no' -- 2.1.4