summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/AA.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm
index 592d8d24..e9d8c938 100755
--- a/LedgerSMB/AA.pm
+++ b/LedgerSMB/AA.pm
@@ -326,10 +326,10 @@ sub post_transaction {
fx_transaction, cleared)
VALUES (?, (SELECT id FROM chart
WHERE accno = ?),
- ? * ?, ?, ?, ?, ?, ?)|;
+ ?, ?, ?, ?, ?, ?)|;
@queryargs = ($form->{id}, $ref->{accno},
- $ref->{amount}, $ml, $form->{transdate},
+ $ref->{amount} * $ml, $form->{transdate},
$ref->{project_id}, $ref->{description},
$ref->{fx_transaction}, $ref->{cleared});
$dbh->prepare($query)->execute(@queryargs)