summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-25 16:12:31 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-25 16:12:31 +0000
commit4a17dc2e5155f6df0311c2342d2ecc69a23af7bf (patch)
tree95b06cd175992d842eaef4ab3e84a6d5c01c3bfc /LedgerSMB
parentf3412733c1cc375e9413478a1df387f4d2829fdd (diff)
Fixing closed books handling
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1100 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/AM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm
index 6c307e07..adc2d74b 100755
--- a/LedgerSMB/AM.pm
+++ b/LedgerSMB/AM.pm
@@ -1692,7 +1692,7 @@ sub closebooks {
for (qw(revtrans closedto audittrail)) {
if ( $form->{$_} ) {
- $val = 1;
+ $val = $form->{$_};
}
else {
$val = 0;