Fix #15970 user.class.php
This commit is contained in:
parent
c248bd0e9e
commit
841736df87
@ -1419,7 +1419,7 @@ class User extends CommonObject
|
|||||||
if ($result > 0) {
|
if ($result > 0) {
|
||||||
$sql = "UPDATE ".MAIN_DB_PREFIX."user";
|
$sql = "UPDATE ".MAIN_DB_PREFIX."user";
|
||||||
$sql .= " SET fk_socpeople=".$contact->id;
|
$sql .= " SET fk_socpeople=".$contact->id;
|
||||||
$sql .= ", civility=".$contact->civility_code;
|
$sql .= ", civility=\"".$contact->civility_code."\"";
|
||||||
if ($contact->socid) {
|
if ($contact->socid) {
|
||||||
$sql .= ", fk_soc=".$contact->socid;
|
$sql .= ", fk_soc=".$contact->socid;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user