From d70512a802e60a52847a42f4f70bb91a2d16218d Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 7 Jul 2007 18:46:23 +0000 Subject: Applying Victor Sterpu's fix to bug 1748895 Fixing bareword error with pos.conf.pl Adding Victor to contributors file git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1352 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/IR.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'LedgerSMB') diff --git a/LedgerSMB/IR.pm b/LedgerSMB/IR.pm index 714acf61..709d5dcf 100755 --- a/LedgerSMB/IR.pm +++ b/LedgerSMB/IR.pm @@ -390,6 +390,8 @@ sub post_invoice { $form->update_balance( $dbh, "invoice", "allocated", qq|id = $ref->{id}|, $qty * -1 ); + $form->update_balance( $dbh, "invoice", "allocated", + qq|id =$invoice_id|,$qty); $allocated += $qty; -- cgit v1.2.3