diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-04 21:12:19 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-04 21:12:19 +0000 |
commit | 4371d3ac11fd01cf5c42d1e3cb938e857b7c7258 (patch) | |
tree | e46f0aa3945b05447215d84c11ea96343d7ce6c5 /LedgerSMB/AA.pm | |
parent | fa23ace16816c74d3bbbe807c5e7ae08aa925824 (diff) |
Fix for db error of 1607680
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@713 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/AA.pm')
-rwxr-xr-x | LedgerSMB/AA.pm | 4 |
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) |