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

SF.net SVN: ledger-smb: [2094] trunk/LedgerSMB/DBObject/Company.pm



Revision: 2094
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2094&view=rev
Author:   aurynn_cmd
Date:     2008-02-27 13:52:07 -0800 (Wed, 27 Feb 2008)

Log Message:
-----------
Minor modification to the Company.pm, so companies are properly saved from the vendor screen

Modified Paths:
--------------
    trunk/LedgerSMB/DBObject/Company.pm

Modified: trunk/LedgerSMB/DBObject/Company.pm
===================================================================
--- trunk/LedgerSMB/DBObject/Company.pm	2008-02-27 21:17:35 UTC (rev 2093)
+++ trunk/LedgerSMB/DBObject/Company.pm	2008-02-27 21:52:07 UTC (rev 2094)
@@ -69,7 +69,7 @@
 
 sub save_location {
     my $self = shift @_;
-    $self->{country_id} = $self->{country};
+    $self->{country_id} = $self->{country_code};
     $self->exec_method(funcname => 'company__location_save');
 
     $self->{dbh}->commit;


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