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

(-)a/Koha/Patron.pm (-2 / +1 lines)
Lines 1106-1112 sub is_valid_age { Link Here
1106
    my $patroncategory = $self->category;
1106
    my $patroncategory = $self->category;
1107
    my ($low,$high) = ($patroncategory->dateofbirthrequired, $patroncategory->upperagelimit);
1107
    my ($low,$high) = ($patroncategory->dateofbirthrequired, $patroncategory->upperagelimit);
1108
1108
1109
    return (defined($age) && (($high && ($age > $high)) or ($age < $low))) ? 0 : 1;
1109
    return (defined($age) && (($high && ($age > $high)) or ($low && ($age < $low)))) ? 0 : 1;
1110
}
1110
}
1111
1111
1112
=head3 account
1112
=head3 account
1113
- 

Return to bug 26417