Lines 237-246
use C4::Biblio qw( GetMarcFromKohaField );
Link Here
|
237 |
if (@invalid_patrons) { |
237 |
if (@invalid_patrons) { |
238 |
new_section("Patrons with invalid age for category"); |
238 |
new_section("Patrons with invalid age for category"); |
239 |
foreach my $patron (@invalid_patrons) { |
239 |
foreach my $patron (@invalid_patrons) { |
240 |
new_item( sprintf "Patron borrowernumber=%s in category '%s' has invalid age '%s'", |
240 |
new_item( sprintf "Patron borrowernumber=%s has an invalid age of %s for their category '%s'", |
241 |
$patron->borrowernumber, $patron->category->categorycode, $patron->get_age ); |
241 |
$patron->borrowernumber, $patron->get_age, $patron->category->categorycode, ); |
242 |
} |
242 |
} |
243 |
new_hint("You may change patron's category automatically with misc/cronjobs/update_patrons_category.pl"); |
243 |
new_hint("You may change the patron's category automatically with misc/cronjobs/update_patrons_category.pl"); |
244 |
} |
244 |
} |
245 |
} |
245 |
} |
246 |
|
246 |
|
247 |
- |
|
|