Lines 948-953
is not passed.
Link Here
|
948 |
sub pickup_locations { |
948 |
sub pickup_locations { |
949 |
my ($self, $params) = @_; |
949 |
my ($self, $params) = @_; |
950 |
|
950 |
|
|
|
951 |
return Koha::Libraries->search( { branchcode => $self->holdingbranch } ) if C4::Context->preference("IndependentBranches") && !C4::Context->IsSuperLibrarian(); |
952 |
|
951 |
Koha::Exceptions::MissingParameter->throw( parameter => 'patron' ) |
953 |
Koha::Exceptions::MissingParameter->throw( parameter => 'patron' ) |
952 |
unless exists $params->{patron}; |
954 |
unless exists $params->{patron}; |
953 |
|
955 |
|
954 |
- |
|
|