From 152d356fcb378f9344b13a5a5ba12c42e945cf38 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 6 May 2007 07:08:07 +0000 Subject: Fixing GL transaction posting bug git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1124 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/GL.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'LedgerSMB') diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm index a5c39dbb..8abf8704 100644 --- a/LedgerSMB/GL.pm +++ b/LedgerSMB/GL.pm @@ -163,6 +163,7 @@ sub post_transaction { ( $null, $project_id ) = split /--/, $form->{"projectnumber_$i"}; $project_id ||= undef; + $form->{"cleared_$i"} ||= "0"; $query = qq| INSERT INTO acc_trans -- cgit v1.2.3