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

SF.net SVN: ledger-smb:[6561] trunk/LedgerSMB/IS.pm



Revision: 6561
          http://sourceforge.net/p/ledger-smb/code/6561
Author:   einhverfr
Date:     2014-01-20 13:50:44 +0000 (Mon, 20 Jan 2014)
Log Message:
-----------
Fixing shipto id clobbering invoice id on retrieval, bug 975 (intra-release, no changelog entry)

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

Modified: trunk/LedgerSMB/IS.pm
===================================================================
--- trunk/LedgerSMB/IS.pm	2014-01-20 13:16:28 UTC (rev 6560)
+++ trunk/LedgerSMB/IS.pm	2014-01-20 13:50:44 UTC (rev 6561)
@@ -1971,6 +1971,8 @@
         $sth->execute( $form->{id} ) || $form->dberror($query);
 
         $ref = $sth->fetchrow_hashref(NAME_lc);
+        $ref->{locationid} = $ref->{id};
+        delete $ref->{id};
         for ( keys %$ref ) { $form->{$_} = $ref->{$_} }
         $sth->finish;
 

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits