mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix #15970 user.class.php
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user