summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
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;