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

(-)a/Koha/Item.pm (-1 / +2 lines)
Lines 991-996 is not passed. Link Here
991
sub pickup_locations {
991
sub pickup_locations {
992
    my ($self, $params) = @_;
992
    my ($self, $params) = @_;
993
993
994
    return Koha::Libraries->search( { branchcode => $self->holdingbranch } ) if C4::Context->preference("IndependentBranches") && !C4::Context->IsSuperLibrarian();
995
994
    Koha::Exceptions::MissingParameter->throw( parameter => 'patron' )
996
    Koha::Exceptions::MissingParameter->throw( parameter => 'patron' )
995
      unless exists $params->{patron};
997
      unless exists $params->{patron};
996
998
997
- 

Return to bug 35434