diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-17 00:28:37 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-07-17 00:28:37 +0000 |
commit | 9785f23c52509bedcfe9f59c9f193b20c567c395 (patch) | |
tree | bbd7c6a50a8168d31f8a8c79dd9df09dda05823c | |
parent | 3eb7f518615684161e415cc0b7ad8e3c9ca2c511 (diff) |
Fixing closedto setting self to 0 (bug 1755145)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1409 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/AM.pm | 1 | ||||
-rwxr-xr-x | LedgerSMB/Form.pm | 2 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | dists/rpm/ledgersmb.spec | 2 | ||||
-rw-r--r-- | dists/source/build.sh | 2 |
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; @@ -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"; |