Do not allow an user to have an empty date
authorNahuel Angelinetti <nahuel.angelinetti@biblibre.com>
Fri, 31 Oct 2008 14:54:47 +0000 (15:54 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 12 Nov 2008 16:11:19 +0000 (17:11 +0100)
commit603827160c54299d153df45150d40b6c095e169d
tree8084fb4523a37aba6f2be402a862615ee52c6794
parent76245635b8a172125fd2ea58ff77686e0f80c2e0
Do not allow an user to have an empty date

If the user set an empty date as the expiration date during a patron modification, we recalculate the expiration date with sysprefs and the registration date.
Before, when you set an empty date, 0000-00-00 is put in the database (too bad).

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
members/memberentry.pl