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

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



Revision: 4144
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4144&view=rev
Author:   einhverfr
Date:     2011-12-05 07:24:21 +0000 (Mon, 05 Dec 2011)
Log Message:
-----------
Correcting extra incrementation of quotation number when saving existing quotation.

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

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2011-12-05 06:46:59 UTC (rev 4143)
+++ branches/1.3/Changelog	2011-12-05 07:24:21 UTC (rev 4144)
@@ -16,6 +16,7 @@
 * Fixed "File does not exist... [object HTMLButtonElement]" js error (Herman V)
 * Fixed timecard template headers not showing company name, etc (Chris T)
 * Fixed part account mappings broken after upgrade from 1.2 (Chris T)
+* Fixed quotation number increasing when saving existing quotation (Chris T)
 
 Changelog for LedgerSMB 1.3.7 (Categorized due to length)
 Database

Modified: branches/1.3/LedgerSMB/OE.pm
===================================================================
--- branches/1.3/LedgerSMB/OE.pm	2011-12-05 06:46:59 UTC (rev 4143)
+++ branches/1.3/LedgerSMB/OE.pm	2011-12-05 07:24:21 UTC (rev 4144)
@@ -338,7 +338,7 @@
     }
     $form->{"$ordnumber"} =
       $form->update_defaults( $myconfig, $numberfld, $dbh )
-      unless $form->{ordnumber};
+      unless $form->{"$ordnumber"};
 
 
 

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