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

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

Return to bug 22806