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

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

Return to bug 22806