Merge pull request #11154 from ptibogxiv/patch-178

FIX  adherent.class.php fetch socid
This commit is contained in:
Laurent Destailleur 2019-05-09 15:36:07 +02:00 committed by GitHub
commit 19daa98aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1279,7 +1279,8 @@ class Adherent extends CommonObject
$this->login = $obj->login;
$this->societe = $obj->company;
$this->company = $obj->company;
$this->fk_soc = $obj->fk_soc;
$this->socid = $obj->fk_soc;
$this->fk_soc = $obj->fk_soc; // For backward comaptibility
$this->address = $obj->address;
$this->zip = $obj->zip;
$this->town = $obj->town;