From e17e30962a1fd0e5f2f5d69acb1cede3eeb799de 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 --- 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.20.1