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

(-)a/C4/Reserves.pm (-2 / +1 lines)
Lines 292-298 sub CanBookBeReserved{ Link Here
292
292
293
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
293
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
294
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
294
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
295
        && C4::Circulation::CheckIfIssuedToPatron( $patron->borrowernumber, $biblio->biblionumber ) ) {
295
        && C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) {
296
        return { status =>'itemAlreadyOnLoan' };
296
        return { status =>'itemAlreadyOnLoan' };
297
    }
297
    }
298
298
299
- 

Return to bug 22806