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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-1 / +1 lines)
Lines 116-122 Link Here
116
                                    <li>Emails do not match! <a href="#borrower_repeat_email">confirm email address</a></li>
116
                                    <li>Emails do not match! <a href="#borrower_repeat_email">confirm email address</a></li>
117
                                [% END %]
117
                                [% END %]
118
                                [% IF field == "ERROR_age_limitations" %]
118
                                [% IF field == "ERROR_age_limitations" %]
119
                                    <li>Patron's age is incorrect for their category. Ages allowed are [% age_low | html %]-[% age_high | html %].</li>
119
                                    <li>Patron's age is incorrect for their category. Please try again.</li>
120
                                [% END %]
120
                                [% END %]
121
                            [% END %]
121
                            [% END %]
122
                        </ul>
122
                        </ul>
(-)a/opac/opac-memberentry.pl (-3 lines)
Lines 539-546 sub CheckForInvalidFields { Link Here
539
        my ($low, $high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit);
539
        my ($low, $high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit);
540
        if (($high && ($age > $high)) or ($age < $low)) {
540
        if (($high && ($age > $high)) or ($age < $low)) {
541
            push @invalidFields, 'ERROR_age_limitations';
541
            push @invalidFields, 'ERROR_age_limitations';
542
            $template->param( age_low => $low);
543
            $template->param( age_high => $high);
544
        }
542
        }
545
    }
543
    }
546
544
547
- 

Return to bug 26211