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

(-)a/Koha/Patron.pm (-1 / +3 lines)
Lines 154-159 sub image { Link Here
154
154
155
=head3 library
155
=head3 library
156
156
157
Returns a Koha::Library object representing the patron's home library.
158
157
=cut
159
=cut
158
160
159
sub library {
161
sub library {
Lines 969-974 my $is_child = $patron->is_child Link Here
969
Return true if the patron has a category with a type Child (C)
971
Return true if the patron has a category with a type Child (C)
970
972
971
=cut
973
=cut
974
972
sub is_child {
975
sub is_child {
973
    my( $self ) = @_;
976
    my( $self ) = @_;
974
    return $self->category->category_type eq 'C' ? 1 : 0;
977
    return $self->category->category_type eq 'C' ? 1 : 0;
975
- 

Return to bug 14570