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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1166-1172 sub is_valid_age { Link Here
1166
    my $patroncategory = $self->category;
1166
    my $patroncategory = $self->category;
1167
    my ($low,$high) = ($patroncategory->dateofbirthrequired, $patroncategory->upperagelimit);
1167
    my ($low,$high) = ($patroncategory->dateofbirthrequired, $patroncategory->upperagelimit);
1168
1168
1169
    return (defined($age) && (($high && ($age > $high)) or ($age < $low))) ? 0 : 1;
1169
    return (defined($age) && (($high && ($age > $high)) or ($low && ($age < $low)))) ? 0 : 1;
1170
}
1170
}
1171
1171
1172
=head3 account
1172
=head3 account
1173
- 

Return to bug 26417