From cd716269a7b2b1b6165154ea7e85844201402a8d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 5 Jun 2020 11:15:33 +0200 Subject: [PATCH] Bug 25611: Use selected vendor when creating a basket We did not take into account the vendor selected. Test plan: 1. Choose Vendor 2. Create Basket 3. Assign a new vendor Without the patch this new vendor is not changed With the patch applied the vendor is changed 4. Edit the basket, change the vendor Reported-by: Kelly McElligott Signed-off-by: Rhonda Kuiper Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- acqui/basketheader.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/basketheader.pl b/acqui/basketheader.pl index 0eb479ff20..1e6fde50ad 100755 --- a/acqui/basketheader.pl +++ b/acqui/basketheader.pl @@ -158,7 +158,7 @@ if ( $op eq 'add_form' ) { ); } else { #New basket $basketno = NewBasket( - $booksellerid, + scalar $input->param('basketbooksellerid'), $loggedinuser, scalar $input->param('basketname'), scalar $input->param('basketnote'), -- 2.11.4.GIT