https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26417
Julian Maurice <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #114710|0 |1 is obsolete| | --- Comment #6 from Julian Maurice <[email protected]> --- Created attachment 114947 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114947&action=edit Bug 26417: Remove warn in Koha::Patron is_valid_age In Koha::Patron is_valid_age the is a compare : $age < $low But $low may be undef. It generates a warn : Use of uninitialized value $low in numeric lt (<) Needs a test like for $high. Test plan : 1) Run prove t/db_dependent/Koha/Patrons.t 2) Edit a patron catetory, empty "Age required" and save 3) Edit a patron of this category 4) Check in logs you don't see "Use of uninitialized value $low in numeric lt (<)" Signed-off-by: Victor Grousset/tuxayo <[email protected]> Signed-off-by: Julian Maurice <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
