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

SF.net SVN: ledger-smb:[5027] branches/1.3



Revision: 5027
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5027&view=rev
Author:   einhverfr
Date:     2012-07-24 00:18:23 +0000 (Tue, 24 Jul 2012)
Log Message:
-----------
Nick Prater's fix for is_zero errors

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB/AA.pm

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-07-23 08:30:59 UTC (rev 5026)
+++ branches/1.3/Changelog	2012-07-24 00:18:23 UTC (rev 5027)
@@ -5,6 +5,7 @@
 Changelog for 1.3.21
 * Added a default numberformat in Form.pm (Chris T)
 * Added a container div for theming saved and/or posted docs (Chris T)
+* Fixed an is_zero error saving purchase transactions (Nick P)
 
 Changelog for 1.3.20
 * Fixes for es_AR translation, duplicate keys removed (Andres B)

Modified: branches/1.3/LedgerSMB/AA.pm
===================================================================
--- branches/1.3/LedgerSMB/AA.pm	2012-07-23 08:30:59 UTC (rev 5026)
+++ branches/1.3/LedgerSMB/AA.pm	2012-07-24 00:18:23 UTC (rev 5027)
@@ -121,7 +121,7 @@
     my $tax         = 0;
     my $fxtax       = 0;
     my $amount;
-    my $diff;
+    my $diff = 0;
 
     my %tax = ();
     my $accno;

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