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

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

Return to bug 35434