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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 276-282 sub CanBookBeReserved{ Link Here
276
276
277
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
277
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
278
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
278
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
279
        && C4::Circulation::CheckIfIssuedToPatron( $patron->borrowernumber, $biblio->biblionumber ) ) {
279
        && C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) {
280
        return { status =>'itemAlreadyOnLoan' };
280
        return { status =>'itemAlreadyOnLoan' };
281
    }
281
    }
282
282
283
- 

Return to bug 22806