Re-fetch hold for cancel notify to correct timestamp user/berick/hold-cancel-notify-repair
authorBill Erickson <berick@esilibrary.com>
Tue, 18 Oct 2011 16:07:46 +0000 (12:07 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 18 Oct 2011 16:07:46 +0000 (12:07 -0400)
commit9a761b260442141224fbcca259e801692b3dc484
tree0ddd0371946f43e4fc55257f504c6a1e28415299
parent0a3ba77bfb997d4896f9f8168057db39f4f14953
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm