Patch from Steve Callender to address a booking-related collection agency reporting...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 2 Nov 2010 16:23:13 +0000 (16:23 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 2 Nov 2010 16:23:13 +0000 (16:23 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18580 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/money.pm

index e1a2f0a..22ab1f3 100644 (file)
@@ -199,7 +199,7 @@ select
                (my $real_sql = $SQL) =~ s/XX/$o_txt/gsm;
 
                my $sth = money::collections_tracker->db_Main->prepare($real_sql);
-               $sth->execute( $org->id, $age, $org->id, $age, $amount );
+               $sth->execute( $org->id, $age, $org->id, $age, $org->id, $age, $amount );
 
                while (my $row = $sth->fetchrow_hashref) {
                        #$row->{usr} = actor::user->retrieve($row->{usr})->to_fieldmapper;