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

(-)a/misc/maintenance/search_for_data_inconsistencies.pl (-4 / +3 lines)
Lines 286-295 use C4::Biblio qw( GetMarcFromKohaField ); Link Here
286
    if (@invalid_patrons) {
286
    if (@invalid_patrons) {
287
        new_section("Patrons with invalid age for category");
287
        new_section("Patrons with invalid age for category");
288
        foreach my $patron (@invalid_patrons) {
288
        foreach my $patron (@invalid_patrons) {
289
            new_item( sprintf "Patron borrowernumber=%s in category '%s' has invalid age '%s'",
289
            new_item( sprintf "Patron borrowernumber=%s has an invalid age of %s for their category '%s'",
290
                $patron->borrowernumber, $patron->category->categorycode, $patron->get_age );
290
                $patron->borrowernumber, $patron->get_age, $patron->category->categorycode, );
291
        }
291
        }
292
        new_hint("You may change patron's category automatically with misc/cronjobs/update_patrons_category.pl");
292
        new_hint("You may change the patron's category automatically with misc/cronjobs/update_patrons_category.pl");
293
    }
293
    }
294
}
294
}
295
295
296
- 

Return to bug 26311