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 |
- |
|
|