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:15 +0000 (10:17 -0400)
commitd3cdd1b282b05b5326be0685b753b39c554b2b4a
treeb571561bdf60344c6ff61290c00639a7d0223002
parent0bc6db4c7e0ec656437576b094c7381be6d722f0
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