]> git.koha-community.org Git - koha.git/commit
Bug 16285 - write_age() function throws error for patron categories that don't includ...
authorNick Clemens <nick@bywatersolutions.com>
Mon, 18 Apr 2016 16:07:46 +0000 (16:07 +0000)
committerBrendan Gallagher <bredan@bywatersolutions.com>
Wed, 20 Apr 2016 18:36:51 +0000 (18:36 +0000)
commit41549bf3f4aa1f87060c7e27ab27e6932359211c
treec66ca1b5be81991c1e852705506f60dcc96cb0d2
parentfd9f9f9be17207b8e4e152d3b5f25bee5260ad38
Bug 16285 - write_age() function throws error for patron categories that don't include dateofbirth in form

To test:
1 Add a patron in category Library or School
2 Note the js error in the console
3 Apply patch
4 Repeat and note the error is gone

Signed-off-by: Chris Cormack <chrisc@catalyst.net.z>
Made it an explicit if, and fixed the author of the commit

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt