summaryrefslogtreecommitdiff
path: root/LedgerSMB/AA.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-05 03:02:39 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-05 03:02:39 +0000
commit129b3c2b70412e7fe99065f7edc9fafd39d2f2b5 (patch)
tree4915af12d74ecbc7ff1502ae178cd0746fac1cc3 /LedgerSMB/AA.pm
parent0d597c59f2fd55cde905f2c233fe3d0b8c29c3b8 (diff)
Fixing all bug-1607680-like problems
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@716 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/AA.pm')
-rwxr-xr-xLedgerSMB/AA.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm
index e9d8c938..fcf5782a 100755
--- a/LedgerSMB/AA.pm
+++ b/LedgerSMB/AA.pm
@@ -346,10 +346,10 @@ sub post_transaction {
transdate, fx_transaction)
VALUES (?, (SELECT id FROM chart
WHERE accno = ?),
- ? * ?, ?, ?)|;
+ ?, ?, ?)|;
@queryargs = ($form->{id}, $ref->{accno},
- $ref->{amount}, $ml, $form->{transdate},
+ $ref->{amount} * $ml, $form->{transdate},
$ref->{fx_transaction});
$dbh->prepare($query)->execute(@queryargs)
|| $form->dberror($query);