diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 94b73d53a4..c2d51686eb 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -80,7 +80,7 @@ my $basket = $order_obj->basket; if ($quantityrec > $origquantityrec ) { my @received_items = (); if ($basket->effective_create_items eq 'ordering') { - @received_items = $input->param('items_to_receive'); + @received_items = $input->multi_param('items_to_receive'); my @affects = split q{\|}, C4::Context->preference("AcqItemSetSubfieldsWhenReceived"); if ( @affects ) { my $frameworkcode = GetFrameworkCode($biblionumber); diff --git a/svc/cover_images b/svc/cover_images index 7531e8c2b4..a1d487a664 100755 --- a/svc/cover_images +++ b/svc/cover_images @@ -37,7 +37,7 @@ if ( $auth_status ne "ok" ) { } my $action = $input->param('action'); -my @imagenumbers = $input->param('imagenumber'); +my @imagenumbers = $input->multi_param('imagenumber'); # Array to store the reponse JSON my $response = []; diff --git a/svc/members/add_to_list b/svc/members/add_to_list index fd23e9c842..2219717003 100755 --- a/svc/members/add_to_list +++ b/svc/members/add_to_list @@ -32,9 +32,9 @@ my ( $auth_status ) = check_cookie_auth( ); exit 0 if $auth_status ne "ok"; -my $add_to_patron_list = $input->param('add_to_patron_list'); -my $new_patron_list = $input->param('new_patron_list'); -my @borrowernumbers = $input->param('borrowernumbers[]'); +my $add_to_patron_list = $input->param('add_to_patron_list'); +my $new_patron_list = $input->param('new_patron_list'); +my @borrowernumbers = $input->multi_param('borrowernumbers[]'); my $response; if ($add_to_patron_list) { diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl index 949f40261d..413bae079f 100755 --- a/tools/import_borrowers.pl +++ b/tools/import_borrowers.pl @@ -93,7 +93,7 @@ if ( $input->param('sample') ) { exit 0; } -my @preserve_fields = $input->param('preserve_existing'); +my @preserve_fields = $input->multi_param('preserve_existing'); my $uploadborrowers = $input->param('uploadborrowers'); my $matchpoint = $input->param('matchpoint'); diff --git a/tools/stockrotation.pl b/tools/stockrotation.pl index 04ff184da5..deaad70dcd 100755 --- a/tools/stockrotation.pl +++ b/tools/stockrotation.pl @@ -376,7 +376,7 @@ if (!defined $op) { } elsif ($op eq 'move_items_to_rota') { # The barcodes of the items we're moving - my @move = $input->param('move_item'); + my @move = $input->multi_param('move_item'); foreach my $item(@move) {