LP#1618624 Fix thinko in adjust-to-zero user/dbwells/lp1618624_adjust_to_zero_dont_close
authorDan Wells <dbw2@calvin.edu>
Wed, 31 Aug 2016 01:50:19 +0000 (21:50 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 31 Aug 2016 01:50:19 +0000 (21:50 -0400)
commit3a5c62e739a5cf9dcabf49441c32d72565aae1a7
treecf74e31d39a4614fe9bc74a99fc06c7a8a6f6929
parent9b47089fd67daa7041161a9c71a02320797055d6
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm