summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 06:27:01 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 06:27:01 +0000
commit6ecdfced9370e46f5446788dbe0c302b637fad6a (patch)
tree04f23eddece652501e907158f8e943a4db3b1ea9 /LedgerSMB
parentdd6bf02ae35fdc0f1c836bb38fe93060d124d713 (diff)
closing bug 1684867
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@971 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/CP.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/CP.pm b/LedgerSMB/CP.pm
index 3722a265..bfd18585 100755
--- a/LedgerSMB/CP.pm
+++ b/LedgerSMB/CP.pm
@@ -685,6 +685,7 @@ sub post_payments {
$sth = $dbh->prepare($query);
$sth->execute($form->{"id_$i"});
+ ($id) = $sth->fetchrow_array();
$paid = ($form->{"paid_$i"} > $form->{"due_$i"}) ? $form->{"due_$i"} : $form->{"paid_$i"};
$amount = $form->round_amount($paid * $exchangerate, 2);