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

(-)a/C4/Reserves.pm (-1 / +2 lines)
Lines 335-340 See CanItemBeReserved() for possible return values. Link Here
335
sub CanBookBeReserved{
335
sub CanBookBeReserved{
336
    my ($borrowernumber, $biblionumber, $pickup_branchcode, $params) = @_;
336
    my ($borrowernumber, $biblionumber, $pickup_branchcode, $params) = @_;
337
337
338
    return { status => '' } unless $borrowernumber;
339
338
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
340
    # Check that patron have not checked out this biblio (if AllowHoldsOnPatronsPossessions set)
339
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
341
    if ( !C4::Context->preference('AllowHoldsOnPatronsPossessions')
340
        && C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) {
342
        && C4::Circulation::CheckIfIssuedToPatron( $borrowernumber, $biblionumber ) ) {
341
- 

Return to bug 30556