From 75a9634708ffc8287a80dcecf40d41db823b0c7c Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 21 Mar 2007 18:31:40 +0000 Subject: Fixing error when posting invoice w/payment git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@978 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/AA.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm index 7752ed0f..b4311eae 100755 --- a/LedgerSMB/AA.pm +++ b/LedgerSMB/AA.pm @@ -427,8 +427,8 @@ sub post_transaction { WHERE accno = ?), ?, ?)|; - @queryargs = ($form->{id}, - $paid{amount}{$i} * $ml, $accno, + @queryargs = ($form->{id}, $accno, + $paid{amount}{$i} * $ml, $form->{"datepaid_$i"}); $dbh->prepare($query)->execute(@queryargs) || $form->dberror($query); -- cgit v1.2.3