From 53a16ac58774171377800f34d8b8033154c688fd Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 21 Mar 2007 01:25:54 +0000 Subject: 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 --- LedgerSMB/AA.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LedgerSMB') 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}); -- cgit v1.2.3