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

SF.net SVN: ledger-smb: [1410] trunk/LedgerSMB/AM.pm



Revision: 1410
          http://svn.sourceforge.net/ledger-smb/?rev=1410&view=rev
Author:   einhverfr
Date:     2007-07-16 17:28:55 -0700 (Mon, 16 Jul 2007)

Log Message:
-----------
Fixing closedto setting self to 0 (bug 1755145)

Modified Paths:
--------------
    trunk/LedgerSMB/AM.pm

Modified: trunk/LedgerSMB/AM.pm
===================================================================
--- trunk/LedgerSMB/AM.pm	2007-07-17 00:28:37 UTC (rev 1409)
+++ trunk/LedgerSMB/AM.pm	2007-07-17 00:28:55 UTC (rev 1410)
@@ -1698,6 +1698,7 @@
         else {
             $val = 0;
         }
+        $val = undef if ($_ == 'closedto' and $val = 0); 
         $sth->execute( $val, $_ );
     }
 


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