@@ -, +, @@ --- reserve/placerequest.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/reserve/placerequest.pl +++ a/reserve/placerequest.pl @@ -54,7 +54,8 @@ my @checkitems = $input->multi_param('checkitem'); my $expirationdate = $input->param('expiration_date'); my $itemtype = $input->param('itemtype') || undef; my $non_priority = $input->param('non_priority'); -my $hold_group = $input->param('hold_group') || undef; +my $hold_group_param = $input->param('hold_group') || undef; +my $hold_group; my $borrower = Koha::Patrons->find( $borrowernumber ); $borrower = $borrower->unblessed if $borrower; @@ -89,7 +90,7 @@ unless ( C4::Context->preference('ReservesNeedReturns') ) { if ( $type eq 'str8' && $borrower ) { - if ( @biblionumbers > 1 && $hold_group ) { + if ( $hold_group_param ) { $hold_group = Koha::HoldGroup->new->store; } --