]> git.koha-community.org Git - koha.git/commit
Bug 17548: Fix step 1 of memberentry
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Nov 2016 09:19:01 +0000 (09:19 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 7 Nov 2016 16:33:10 +0000 (16:33 +0000)
commit9e82c921a6a5d43323535393d1b5006c12535eba
tree7f54118b7628bb9ac010dc3f5acc91719145b1d3
parentb2c59c7ff248597aefc9043bc2aa4547938c82b5
Bug 17548: Fix step 1 of memberentry

This bug has been highlighted by bug 15407.

The date limit check on the category code did not work on step 1. But
after bug 15407 the script crashes with
  Can't call method "dateofbirthrequired" on an undefined value at
  /home/vagrant/kohaclone/members/memberentry.pl line 311.

Test plan:
- Edit "step 1" information of a patron (first 'Edit' on a patron detail
page).
- Save
=> Without this patch it BOOMs
=> With this patch, the info should be correctly saved

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
members/memberentry.pl