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 /LedgerSMB | |
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
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/AM.pm | 1 | ||||
-rwxr-xr-x | LedgerSMB/Form.pm | 2 |
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; |