@@ -, +, @@ working --- reserve/request.pl | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) --- a/reserve/request.pl +++ a/reserve/request.pl @@ -266,15 +266,12 @@ foreach my $biblionumber (@biblionumbers) { $template->param( max_holds_for_record => $max_holds_for_record ); $template->param( remaining_holds_for_record => $remaining_holds_for_record ); - { # alreadypossession - # Check to see if patron is allowed to place holds on records where the - # patron already has an item from that record checked out - my $alreadypossession; - if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') - && CheckIfIssuedToPatron( $patron->borrowernumber, $biblionumber ) ) - { - $template->param( alreadypossession => $alreadypossession, ); - } + # Check to see if patron is allowed to place holds on records where the + # patron already has an item from that record checked out + if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions') + && CheckIfIssuedToPatron( $patron->borrowernumber, $biblionumber ) ) + { + $template->param( alreadypossession => 1 ); } } --