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

(-)a/circ/returns.pl (-3 / +2 lines)
Lines 143-149 foreach ( $query->param ) { Link Here
143
    push( @inputloop, \%input );
143
    push( @inputloop, \%input );
144
}
144
}
145
145
146
my $op          = $query->param('op');
146
my $op          = $query->param('op') // q{};
147
147
148
############
148
############
149
# Deal with the requests....
149
# Deal with the requests....
Lines 177-183 if ( $query->param('reserve_id') && $op eq 'cud-affect_reserve') { Link Here
177
    }
177
    }
178
    # check if we have other reserves for this document, if we have a result send the message of transfer
178
    # check if we have other reserves for this document, if we have a result send the message of transfer
179
    # FIXME do we need to do this if we didn't take the cancel_reserve branch above?
179
    # FIXME do we need to do this if we didn't take the cancel_reserve branch above?
180
    my ( undef, $nextreservinfo, undef ) = CheckReserves($item);
180
    my ( undef, $nextreservinfo, undef ) = CheckReserves( $item, C4::Context->preference('ConfirmFutureHolds') );
181
181
182
    if ( $userenv_branch ne $nextreservinfo->{'branchcode'} ) {
182
    if ( $userenv_branch ne $nextreservinfo->{'branchcode'} ) {
183
        my $patron = Koha::Patrons->find( $nextreservinfo->{'borrowernumber'} );
183
        my $patron = Koha::Patrons->find( $nextreservinfo->{'borrowernumber'} );
184
- 

Return to bug 37650