]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Re-fetch hold for cancel notify to correct timestamp
authorBill Erickson <berick@esilibrary.com>
Tue, 18 Oct 2011 16:07:46 +0000 (12:07 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 18 Oct 2011 16:15:25 +0000 (12:15 -0400)
commit1fd945019278c0fd05346aca4a88c0c94f0fae8a
tree419d5f2171b641364b1286ea6a9cee4df2071212
parent296264efe6fcef702bf87e1bf6dba3ced81b9645
Re-fetch hold for cancel notify to correct timestamp

Re-fetch the cancelled hold from the DB before passing it off to
action/trigger for notification processing.  Otherwise, A/T attempts to
perform date math on "now" instead of a valid timestamp and subsequently
croaks.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm