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>
Mon, 27 Jan 2014 17:34:55 +0000 (12:34 -0500)
commitaf4688193e66a3b92c469e20b4746cda2f8be7be
treeb56d7d913fc71084317f515a9a6c82e0ee189ba8
parent3e1072e11f688a1f75cddd425aa1aab44fb84df0
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm