TPAC: avoid problem with HOLD_EXISTS event in hold placement tpac-fix-hold-exists
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 19 Oct 2011 22:16:14 +0000 (18:16 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 19 Oct 2011 22:16:14 +0000 (18:16 -0400)
commit8f5d28057f5c3911bae732d6109c9d9b61b79a14
treedbe3f573be963f84ce3b197f7a26f9592b4c1f61
parent2119df527e881f81b6ce4d8ed3fef71c247a1cd2
TPAC: avoid problem with HOLD_EXISTS event in hold placement

If you place a hold on something that generates a HOLD_EXISTS event (and
no other events?) you get a 500 error from Apache and an error in the
logs saying "not a hash reference" about $result in the lines I've
changed here.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm