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)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 6 Nov 2008 22:17:11 +0000 (16:17 -0600)
commitbe5cddb39df911d0ac033b6c91e7ffb8b4c11089
tree6534fc60b9f3f8f0a0431c4b495151029566f412
parent0551f48150a0d37009594fe777a12fdb2def827d
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