From 1a514b64a3521fbf3ecfe27b767aed5c07dfe7e8 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 6 May 2007 07:11:55 +0000 Subject: Fixing GL transaction posting bug and correcting typo in INSTALL git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1125 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/GL.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LedgerSMB') diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm index a5c39dbb..2148050b 100755 --- a/LedgerSMB/GL.pm +++ b/LedgerSMB/GL.pm @@ -179,8 +179,8 @@ sub post_transaction { $form->{id}, $accno, $amount, $form->{transdate}, $form->{"source_$i"}, $project_id, - $form->{"fx_transaction_$i"}, $form->{"memo_$i"}, - $form->{"cleared_$i"} + ($form->{"fx_transaction_$i"} || 0), $form->{"memo_$i"}, + ($form->{"cleared_$i"} || 0) ) || $form->dberror($query); $posted = 1; -- cgit v1.2.3