@@ -, +, @@ --- reserve/placerequest.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/reserve/placerequest.pl +++ a/reserve/placerequest.pl @@ -49,7 +49,8 @@ my $checkitem = $input->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; @@ -74,7 +75,7 @@ my $found; if ( $type eq 'str8' && $borrower ) { - if ( @biblionumbers > 1 && $hold_group ) { + if ( $hold_group_param ) { $hold_group = Koha::HoldGroup->new->store; } --