summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 01:25:54 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 01:25:54 +0000
commit53a16ac58774171377800f34d8b8033154c688fd (patch)
treeb7ad57e453c5a4f710526b0b4ebf4fe6234b020b /LedgerSMB
parent7ad5ee49cf8d9f7bc60de5692fac8bed848210ac (diff)
Fixing AP posting bug in AA.pm
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@967 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-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});