From c260c6c6ffd74151c08f85b5bf53da9095e0a324 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 (cherry picked from commit cd716269a7b2b1b6165154ea7e85844201402a8d) Signed-off-by: Lucas Gass (cherry picked from commit b2514759bcd4b5d3cb5758bf66890f1d84a2c586) Signed-off-by: Aleisha Amohia --- 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.39.5