From 79af20cfc774f6045e05dd5a781de28fece58903 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Mon, 15 Aug 2022 18:41:58 +0200 Subject: [PATCH] Fix updating language thirdparty to member --- htdocs/societe/class/societe.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 43cfaa16998..1c41b7ee186 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -1581,6 +1581,7 @@ class Societe extends CommonObject $lmember->phone = $this->phone; $lmember->state_id = $this->state_id; $lmember->country_id = $this->country_id; + $lmember->default_lang = $this->default_lang; $result = $lmember->update($user, 0, 1, 1, 1); // Use nosync to 1 to avoid cyclic updates if ($result < 0) {