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:53:39 +0000 (16:53 -0500)
commit5df06a15efdf0a48e3772a882b95a1e970d420a3
treec4acf6aedbf62b0d7ae1370ffbf2f0c73afc57b0
parente6a1e7fdcfc20499f3094111e9039eb3f5d86dfe
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