From 600f9c8c54cde3c1dc2dfb3e9593a67b357dff15 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 14 Sep 2020 07:07:01 +0000 Subject: [PATCH] Bug 26311: (QA follow-up) Rephrase output message This is a suggestion for rephrasing the message slightly: Before: * Patron borrowernumber=15 in category 'J' has invalid age '56' After: * Patron borrowernumber=37 has an invalid age of 37 for their category 'K' Signed-off-by: Katrin Fischer --- misc/maintenance/search_for_data_inconsistencies.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/maintenance/search_for_data_inconsistencies.pl b/misc/maintenance/search_for_data_inconsistencies.pl index 1652dedb8a..046d72bd36 100755 --- a/misc/maintenance/search_for_data_inconsistencies.pl +++ b/misc/maintenance/search_for_data_inconsistencies.pl @@ -237,10 +237,10 @@ use C4::Biblio qw( GetMarcFromKohaField ); if (@invalid_patrons) { new_section("Patrons with invalid age for category"); foreach my $patron (@invalid_patrons) { - new_item( sprintf "Patron borrowernumber=%s in category '%s' has invalid age '%s'", - $patron->borrowernumber, $patron->category->categorycode, $patron->get_age ); + new_item( sprintf "Patron borrowernumber=%s has an invalid age of %s for their category '%s'", + $patron->borrowernumber, $patron->get_age, $patron->category->categorycode, ); } - new_hint("You may change patron's category automatically with misc/cronjobs/update_patrons_category.pl"); + new_hint("You may change the patron's category automatically with misc/cronjobs/update_patrons_category.pl"); } } -- 2.35.1