forked from Wavyzz/dolibarr
Fix syntax error
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user