2
0
forked from Wavyzz/dolibarr

Fix #15970 user.class.php

This commit is contained in:
lmarcouiller
2021-01-18 14:20:30 +01:00
parent c248bd0e9e
commit 841736df87

View File

@@ -1419,7 +1419,7 @@ class User extends CommonObject
if ($result > 0) {
$sql = "UPDATE ".MAIN_DB_PREFIX."user";
$sql .= " SET fk_socpeople=".$contact->id;
$sql .= ", civility=".$contact->civility_code;
$sql .= ", civility=\"".$contact->civility_code."\"";
if ($contact->socid) {
$sql .= ", fk_soc=".$contact->socid;
}