LP 1198465: Fix _check_payment_interval in O::A::Circ::CircCommon.
authorJason Stephenson <jason@sigio.com>
Sat, 21 Dec 2013 15:47:04 +0000 (10:47 -0500)
committerJason Stephenson <jason@sigio.com>
Thu, 20 Feb 2014 22:56:33 +0000 (17:56 -0500)
commit75a6fd2638cacb7d9829a08b8b28f4ae54ee0a72
tree494bdfa5116ab2ebc93c6caf9454ea2ba434f134
parent9c23ef5a19dd2ab8528d73d39ed51fce91b938b5
LP 1198465: Fix _check_payment_interval in O::A::Circ::CircCommon.

I was passing in the hashref from org_unit_setting and treating it
as if I had the value hash member.

This change modified _check_payment_interval to detect if we have
the hashref.  If so, we set the the inverval to $hashref->{value}.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm