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

(-)a/circ/returns.pl (-2 / +1 lines)
Lines 181-187 if ( $query->param('reserve_id') && $op eq 'cud-affect_reserve') { Link Here
181
    }
181
    }
182
    # check if we have other reserves for this document, if we have a result send the message of transfer
182
    # check if we have other reserves for this document, if we have a result send the message of transfer
183
    # FIXME do we need to do this if we didn't take the cancel_reserve branch above?
183
    # FIXME do we need to do this if we didn't take the cancel_reserve branch above?
184
    my ( undef, $nextreservinfo, undef ) = CheckReserves($item);
184
    my ( undef, $nextreservinfo, undef ) = CheckReserves( $item, C4::Context->preference('ConfirmFutureHolds') );
185
185
186
    if ( $userenv_branch ne $nextreservinfo->{'branchcode'} ) {
186
    if ( $userenv_branch ne $nextreservinfo->{'branchcode'} ) {
187
        my $patron = Koha::Patrons->find( $nextreservinfo->{'borrowernumber'} );
187
        my $patron = Koha::Patrons->find( $nextreservinfo->{'borrowernumber'} );
188
- 

Return to bug 37650