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

(-)a/members/moremember.pl (-2 lines)
Lines 244-250 $template->param( age => $age ); Link Here
244
my $borrowercategory = Koha::Patron::Categories->find($data->{ 'categorycode' });
244
my $borrowercategory = Koha::Patron::Categories->find($data->{ 'categorycode' });
245
my ($low,$high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit);
245
my ($low,$high) = ($borrowercategory->dateofbirthrequired, $borrowercategory->upperagelimit);
246
if (($high && ($age > $high)) or ($age < $low)) {
246
if (($high && ($age > $high)) or ($age < $low)) {
247
    $template->param( flagged => 1 );
248
    $template->param( age_limitations => 1 );
247
    $template->param( age_limitations => 1 );
249
    $template->param( age_low => $low );
248
    $template->param( age_low => $low );
250
    $template->param( age_high => $high );
249
    $template->param( age_high => $high );
251
- 

Return to bug 17492