]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1189989: (follow-up) ignore invalid thaw date
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 2 Aug 2017 15:49:08 +0000 (11:49 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 2 Aug 2017 15:49:08 +0000 (11:49 -0400)
commit64008ef2f43d4d7c964e9b1f49639713a16e322f
tree410ff79bdb879390a5eefa8ccd36a0c94ba0d3ce
parent901bb58e5b0bd4dcd365207fdbb2dd59b108f532
LP#1189989: (follow-up) ignore invalid thaw date

This patch ensures that the specified thaw date is valid,
as otherwise specifying a thaw date of "13/08/2017" (when,
at present, only dates of the form mm/dd/yyyy are accepted)
would result in an Apache internal server error.

If an invalid date is supplied, the thaw date is ignored, meaning
that the hold request will be placed as suspended but will not
automatically reactivate.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm