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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1335-1341 Return true if the patron (usually the logged in user) can see the patron's info Link Here
1335
sub can_see_patron_infos {
1335
sub can_see_patron_infos {
1336
    my ( $self, $patron ) = @_;
1336
    my ( $self, $patron ) = @_;
1337
    return unless $patron;
1337
    return unless $patron;
1338
    return $self->can_see_patrons_from( $patron->library->branchcode );
1338
    return $self->can_see_patrons_from( $patron->branchcode );
1339
}
1339
}
1340
1340
1341
=head3 can_see_patrons_from
1341
=head3 can_see_patrons_from
1342
- 

Return to bug 28973