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

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

Return to bug 30556