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)
committerKathy Lussier <klussier@masslnc.org>
Thu, 13 Feb 2014 05:39:13 +0000 (00:39 -0500)
commit3db75fd78d2472b04c5aad8ff87e780b619b555e
treec7e1ec3c7d0cadcbc89d4dca5d34e4d5aca8a65d
parent9bd511672c89cc68836f261e5ec4a6da913d62d3
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