Protect against fleshed circ_lib in legacy check_age_protect user/berick/legacy-script-age-protect-ou-setting-deflesh
authorBill Erickson <berick@esilibrary.com>
Mon, 17 Sep 2012 12:48:26 +0000 (08:48 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 17 Sep 2012 12:48:26 +0000 (08:48 -0400)
commitf00cc2f5f358ed566a3c8061529df61b19ebbe4f
treebafd38087f53094301219da05e99ab702bec2843
parent5af150f6a5474b0a3871eaf077fb5940289a5ff5
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>
Open-ILS/src/perlmods/lib/OpenILS/Utils/PermitHold.pm