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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 313-319 sub CanBookBeReserved{ Link Here
313
313
314
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
314
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
315
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
315
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
316
        && C4::Circulation::CheckIfIssuedToPatron( $patron->borrowernumber, $biblio->biblionumber ) ) {
316
        && C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) {
317
        return { status =>'itemAlreadyOnLoan' };
317
        return { status =>'itemAlreadyOnLoan' };
318
    }
318
    }
319
319
320
- 

Return to bug 22806