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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 320-326 sub CanBookBeReserved{ Link Here
320
320
321
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
321
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
322
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
322
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
323
        && C4::Circulation::CheckIfIssuedToPatron( $patron->borrowernumber, $biblio->biblionumber ) ) {
323
        && C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) {
324
        return { status =>'itemAlreadyOnLoan' };
324
        return { status =>'itemAlreadyOnLoan' };
325
    }
325
    }
326
326
327
- 

Return to bug 22806