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

(-)a/Koha/Item.pm (-1 / +2 lines)
Lines 1033-1038 is not passed. Link Here
1033
sub pickup_locations {
1033
sub pickup_locations {
1034
    my ($self, $params) = @_;
1034
    my ($self, $params) = @_;
1035
1035
1036
    return Koha::Libraries->search( { branchcode => $self->holdingbranch } ) if C4::Context->preference("IndependentBranches") && !C4::Context->IsSuperLibrarian();
1037
1036
    Koha::Exceptions::MissingParameter->throw( parameter => 'patron' )
1038
    Koha::Exceptions::MissingParameter->throw( parameter => 'patron' )
1037
      unless exists $params->{patron};
1039
      unless exists $params->{patron};
1038
1040
1039
- 

Return to bug 35434