Fix updating language thirdparty to member

This commit is contained in:
ptibogxiv 2022-08-15 18:41:58 +02:00 committed by GitHub
parent 183b205c32
commit 79af20cfc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {