Fix syntax error
This commit is contained in:
parent
333d4873c3
commit
a6ecf6dbbc
@ -1041,7 +1041,7 @@ class User extends CommonObject
|
|||||||
// If contact, remove link
|
// If contact, remove link
|
||||||
if ($this->contact_id > 0)
|
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))
|
if (!$error && !$this->db->query($sql))
|
||||||
{
|
{
|
||||||
$error++;
|
$error++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user