View | Details | Raw Unified | Return to bug 24529
Collapse All | Expand All

(-)a/C4/Reserves.pm (-1 / +2 lines)
Lines 1836-1841 If $cancelreserve boolean is set to true, it will remove existing reserve Link Here
1836
sub MoveReserve {
1836
sub MoveReserve {
1837
    my ( $itemnumber, $borrowernumber, $cancelreserve ) = @_;
1837
    my ( $itemnumber, $borrowernumber, $cancelreserve ) = @_;
1838
1838
1839
    $cancelreserve //= 0;
1840
1839
    my $lookahead = C4::Context->preference('ConfirmFutureHolds'); #number of days to look for future holds
1841
    my $lookahead = C4::Context->preference('ConfirmFutureHolds'); #number of days to look for future holds
1840
    my ( $restype, $res, undef ) = CheckReserves( $itemnumber, undef, $lookahead );
1842
    my ( $restype, $res, undef ) = CheckReserves( $itemnumber, undef, $lookahead );
1841
    return unless $res;
1843
    return unless $res;
1842
- 

Return to bug 24529