summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/AM.pm1
-rwxr-xr-xLedgerSMB/Form.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm
index 751b015f..dfc16c19 100755
--- a/LedgerSMB/AM.pm
+++ b/LedgerSMB/AM.pm
@@ -1698,6 +1698,7 @@ sub closebooks {
else {
$val = 0;
}
+ $val = undef if ($_ eq 'closedto' and $val == 0);
$sth->execute( $val, $_ );
}
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 133c5f23..6c92d366 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -83,7 +83,7 @@ sub new {
#menubar will be deprecated, replaced with below
$self->{lynx} = 1 if $self->{path} =~ /lynx/i;
- $self->{version} = "1.2.7";
+ $self->{version} = "1.2.8";
$self->{dbversion} = "1.2.0";
bless $self, $type;