diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-02 05:53:54 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-02 05:53:54 +0000 |
commit | 830616869e84527032206427c78ceed9cc5de097 (patch) | |
tree | 71f7316fc11c91ddfbca1240e70383802f930167 /bin | |
parent | f0229b16c649724c74174a8fb42d14ab05c615a9 (diff) |
Cleared bug 1625954
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@789 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/aa.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -717,7 +717,7 @@ sub form_footer { if ($form->{id}) { - if ($form->{locked} || $transdate <= $closedto) { + if ($form->{locked} || ($transdate && $transdate <= $closedto)) { for ("post", "print_and_post", "delete") { delete $button{$_} } } @@ -730,7 +730,7 @@ sub form_footer { for ("post_as_new", "print_and_post_as_new", "delete") { delete $button{$_} } delete $button{"print_and_post"} if ! ${LedgerSMB::Sysconfig::latex}; - if ($transdate <= $closedto) { + if ($transdate && $transdate <= $closedto) { for ("post", "print_and_post") { delete $button{$_} } } } |