2
0
forked from Wavyzz/dolibarr

Fix syntax error

This commit is contained in:
Laurent Destailleur
2020-06-25 12:18:57 +02:00
parent 333d4873c3
commit a6ecf6dbbc

View File

@@ -1041,7 +1041,7 @@ class User extends CommonObject
// If contact, remove link
if ($this->contact_id > 0)
{
$sql = "UPDATE ".MAIN_DB_PREFIX."socpeople SET fk_user_creat = null WHERE rowid = ".$this->contact_id);
$sql = "UPDATE ".MAIN_DB_PREFIX."socpeople SET fk_user_creat = null WHERE rowid = ".$this->contact_id;
if (!$error && !$this->db->query($sql))
{
$error++;