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

(-)a/Koha/Item.pm (-2 / +3 lines)
Lines 27-32 use Koha::DateUtils qw( dt_from_string ); Link Here
27
27
28
use C4::Context;
28
use C4::Context;
29
use C4::Circulation;
29
use C4::Circulation;
30
use C4::Reserves;
30
use Koha::Checkouts;
31
use Koha::Checkouts;
31
use Koha::IssuingRules;
32
use Koha::IssuingRules;
32
use Koha::Item::Transfer::Limits;
33
use Koha::Item::Transfer::Limits;
Lines 295-301 sub pickup_locations { Link Here
295
    my $patron = $params->{patron};
296
    my $patron = $params->{patron};
296
297
297
    my $circ_control_branch =
298
    my $circ_control_branch =
298
      C4::Circulation::_GetCircControlBranch( $self->unblessed(), $patron );
299
      C4::Reserves::GetReservesControlBranch( $self->unblessed(), $patron->unblessed );
299
    my $branchitemrule =
300
    my $branchitemrule =
300
      C4::Circulation::GetBranchItemRule( $circ_control_branch, $self->itype );
301
      C4::Circulation::GetBranchItemRule( $circ_control_branch, $self->itype );
301
302
Lines 330-335 sub pickup_locations { Link Here
330
            push @pickup_locations, $library->unblessed;
331
            push @pickup_locations, $library->unblessed;
331
        }
332
        }
332
    }
333
    }
334
333
    return wantarray ? @pickup_locations : \@pickup_locations;
335
    return wantarray ? @pickup_locations : \@pickup_locations;
334
}
336
}
335
337
336
- 

Return to bug 22284