summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-06 07:08:07 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-05-06 07:08:07 +0000
commit152d356fcb378f9344b13a5a5ba12c42e945cf38 (patch)
tree5460771575ede913a7c8e01040699f4921319e96 /LedgerSMB
parent952a47ccdcf38a966433e3eb87dd953b750b4fcd (diff)
Fixing GL transaction posting bug
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1124 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/GL.pm1
1 files changed, 1 insertions, 0 deletions
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