Protect against fleshed circ_lib in legacy check_age_protect
authorBill Erickson <berick@esilibrary.com>
Mon, 17 Sep 2012 12:48:26 +0000 (08:48 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 19 Sep 2012 14:15:47 +0000 (10:15 -0400)
commitaf09729c89349ff84e901de905a396b78bd3e5e8
tree18c5a17a95831e2b06c732c36cc92425cee5bb1b
parente1a7501799119e0f305616af5bf97149d9bdf4c0
Protect against fleshed circ_lib in legacy check_age_protect

Retrieving org settings with an org unit object as the context org unit
results in errors and dying.

This affects legacy scripts only.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/perlmods/lib/OpenILS/Utils/PermitHold.pm