summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/AM.pm1
-rwxr-xr-xLedgerSMB/Form.pm2
-rw-r--r--VERSION2
-rw-r--r--dists/rpm/ledgersmb.spec2
-rw-r--r--dists/source/build.sh2
5 files changed, 5 insertions, 4 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;
diff --git a/VERSION b/VERSION
index 5120b2c6..55285fd2 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.2.7
+1.2.8
diff --git a/dists/rpm/ledgersmb.spec b/dists/rpm/ledgersmb.spec
index 4cf487d3..245217ee 100644
--- a/dists/rpm/ledgersmb.spec
+++ b/dists/rpm/ledgersmb.spec
@@ -1,7 +1,7 @@
# RPM spec written for and tested on Fedora Core 6
Summary: LedgerSMB - Open Source accounting software
Name: ledgersmb
-Version: 1.2.7
+Version: 1.2.8
Release: 1
License: GPL
URL: http://www.ledgersmb.org/
diff --git a/dists/source/build.sh b/dists/source/build.sh
index 481ed825..487c06e5 100644
--- a/dists/source/build.sh
+++ b/dists/source/build.sh
@@ -9,7 +9,7 @@ else
pgdoc="true";
fi
-version="1.2.7";
+version="1.2.8";
#rpmversion="1.2.6";
build_d="../release";