From 3f647bc134f8dfc0b30bd59eb5a248b4178070ec Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 2 Feb 2011 18:53:25 +0000 Subject: [PATCH] exit finish_fines_and_voiding() if there is no open circ git-svn-id: svn://svn.open-ils.org/ILS/trunk@19361 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm index b6bbedc424..cc30638981 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm @@ -2437,9 +2437,10 @@ sub do_checkin { sub finish_fines_and_voiding { my $self = shift; + return unless $self->circ; # gather any updates to the circ after fine generation, if there was a circ - $self->generate_fines_finish if ($self->circ); + $self->generate_fines_finish; return unless $self->backdate or $self->void_overdues; -- 2.11.0