[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [789] branches/1.2/bin/aa.pl



Revision: 789
          http://svn.sourceforge.net/ledger-smb/?rev=789&view=rev
Author:   einhverfr
Date:     2007-02-01 21:53:54 -0800 (Thu, 01 Feb 2007)

Log Message:
-----------
Cleared bug 1625954 

Modified Paths:
--------------
    branches/1.2/bin/aa.pl

Modified: branches/1.2/bin/aa.pl
===================================================================
--- branches/1.2/bin/aa.pl	2007-02-02 05:22:32 UTC (rev 788)
+++ branches/1.2/bin/aa.pl	2007-02-02 05:53:54 UTC (rev 789)
@@ -717,7 +717,7 @@
 
     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 @@
       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{$_} }
       }
     }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.