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:43 +0000 (12:15 -0400)
commit3185fc377b3005ca831813d77f8a5b9d4df40a7b
treeff6ede89be54732c08df41d98df7e49e85fdabd7
parentcefcbc4689b30b61fc53f1f3471b7c2a695934d7
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