summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/AA.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm
index 373a5a0b..cb815516 100755
--- a/LedgerSMB/AA.pm
+++ b/LedgerSMB/AA.pm
@@ -367,7 +367,7 @@ sub post_transaction {
INSERT INTO acc_trans
(trans_id, chart_id, amount, transdate)
VALUES (?, (SELECT id FROM chart
- WHERE accno = '?'),
+ WHERE accno = ?),
?, ?)|;
@queryargs = ($form->{id}, $accno, $invamount * -1 * $ml,
$form->{transdate});