Bug 19135: Restore AllowHoldsOnPatronsPossessions behaviour
[koha.git] / reserve / request.pl
index 3930e27..f4cdc16 100755 (executable)
@@ -269,11 +269,10 @@ foreach my $biblionumber (@biblionumbers) {
         { # 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, );
+                $template->param( alreadypossession => 1, );
             }
         }
     }