bug_2830: Remove reserve when checking out if the borrower is not the first one in...
[koha_gimpoz] / C4 / Items.pm
index 0756832..8802a4c 100644 (file)
@@ -1229,7 +1229,7 @@ sub GetItemsInfo {
                        $serial = 1;
         }
                if ( $datedue eq '' ) {
-            my ( $restype, $reserves ) =
+            my ( $restype, $reserves, undef ) =
               C4::Reserves::CheckReserves( $data->{'itemnumber'} );
 # Previous conditional check with if ($restype) is not needed because a true
 # result for one item will result in subsequent items defaulting to this true