summaryrefslogtreecommitdiff
path: root/LedgerSMB/AA.pm
diff options
context:
space:
mode:
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);