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

SF.net SVN: ledger-smb:[4202] branches/1.3/LedgerSMB/IC.pm



Revision: 4202
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4202&view=rev
Author:   tshvr
Date:     2011-12-12 14:00:27 +0000 (Mon, 12 Dec 2011)
Log Message:
-----------
commit will be done after update

Modified Paths:
--------------
    branches/1.3/LedgerSMB/IC.pm

Modified: branches/1.3/LedgerSMB/IC.pm
===================================================================
--- branches/1.3/LedgerSMB/IC.pm	2011-12-12 13:58:35 UTC (rev 4201)
+++ branches/1.3/LedgerSMB/IC.pm	2011-12-12 14:00:27 UTC (rev 4202)
@@ -241,8 +241,9 @@
 
 sub save {
     my ( $self, $myconfig, $form ) = @_;
+    my $nocommit=1;
     $form->{partnumber} =
-      $form->update_defaults( $myconfig, "partnumber", $dbh )
+      $form->update_defaults( $myconfig, "partnumber", $dbh,$nocommit)
       if !$form->{partnumber};
 
     ( $form->{inventory_accno} ) = split( /--/, $form->{IC_inventory} );

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