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:17:39 +0000 (10:17 -0400)
commit2b77c235a9da8bdfe77316d2c64d42e6b5c3ee43
tree55eaaf87f7f1b7330d5785f2e54ba31d7b2ca95b
parentb757adaa91825788a10ef302f37481b9d7bf6469
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