Bug 17933: Add test and return unless defined dob
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 19 Jan 2017 10:13:36 +0000 (11:13 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 17 Feb 2017 11:22:09 +0000 (11:22 +0000)
commit6ee62d4917481f77db26f858491266cb86d2252c
tree469fcba605030c69a5d3937deefe513e7c10f215
parent083a8f7b7274bdf9e9547bee60366259374c1c20
Bug 17933: Add test and return unless defined dob

Without this patch get_age return actually 0 instead of

Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Patron.pm
t/db_dependent/Koha/Patrons.t