]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1618624 Fix thinko in adjust-to-zero
authorDan Wells <dbw2@calvin.edu>
Wed, 31 Aug 2016 01:50:19 +0000 (21:50 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 3 Mar 2017 21:58:06 +0000 (16:58 -0500)
commit0716d6172ebcd7f57c298eab8e48cd21fe299de2
treef71fd7b08dc739edba7f65b8eac5d27846b29666
parent91308bd5fcc0e6631cc477b858daffe1145cff6e
LP#1618624 Fix thinko in adjust-to-zero

It appears that this test was written for an 'unless' instead of
an 'if'.  'if' seems just as natural here, so let's go that route.

This should prevent us from closing circulations prematurely, and
also close them when we need to.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm