From 6556ace2bc15243c8f518c445415a1eda79cfde2 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Thu, 23 Aug 2018 10:16:33 +0200 Subject: [PATCH] Fix sync user->member add more fields --- htdocs/user/class/user.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index fed37fc0d5a..161cea20e77 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -1497,6 +1497,12 @@ class User extends CommonObject $adh->societe=(empty($adh->societe) && $this->societe_id ? $this->societe_id : $adh->societe); + $adh->address=$this->address; + $adh->town=$this->town; + $adh->zip=$this->zip; + $adh->state_id=$this->state_id; + $adh->country_id=$this->country_id; + $adh->email=$this->email; $adh->skype=$this->skype; $adh->phone=$this->office_phone;