diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
index cdfb6c94ec..6ee5793dcb 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
@@ -116,7 +116,7 @@
Emails do not match! confirm email address
[% END %]
[% IF field == "ERROR_age_limitations" %]
- Patron's age is incorrect for their category. Ages allowed are [% age_low | html %]-[% age_high | html %].
+ Patron's age is incorrect for their category. Please try again.
[% END %]
[% END %]
diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl
index 11cf05f178..28b7a1aa26 100755
--- a/opac/opac-memberentry.pl
+++ b/opac/opac-memberentry.pl
@@ -539,8 +539,6 @@ sub CheckForInvalidFields {
my ( $low, $high ) = ( $borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit );
if ( ( $high && ( $age > $high ) ) or ( $age < $low ) ) {
push @invalidFields, 'ERROR_age_limitations';
- $template->param( age_low => $low);
- $template->param( age_high => $high);
}
}