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:57:26 +0000 (16:57 -0500)
commit1d0e9ebff9887e8a10448e6e0a4f60311dd4860a
tree1ebaed0707d3a01665acf276b4e8a038bb20afea
parenta4468573f5c3a878e61cd1ba05479697ad7b4696
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