summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 18:31:40 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 18:31:40 +0000
commit75a9634708ffc8287a80dcecf40d41db823b0c7c (patch)
treef75dd5c03fde96bc52555c380e82067e4d0e9237
parentc546a6652ad38b5212457c3074c64a7fead4642d (diff)
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
-rwxr-xr-xLedgerSMB/AA.pm4
1 files 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);