commit
897f4be033
@ -738,11 +738,11 @@ abstract class CommonObject
|
||||
}
|
||||
if ($this->element == 'contact') {
|
||||
$contactid = $this->id;
|
||||
$thirdpartyid = $object->fk_soc;
|
||||
$thirdpartyid = empty($object->fk_soc) ? 0 : $object->fk_soc;
|
||||
}
|
||||
if ($this->element == 'user') {
|
||||
$contactid = $this->contact_id;
|
||||
$thirdpartyid = $object->fk_soc;
|
||||
$thirdpartyid = empty($object->fk_soc) ? 0 : $object->fk_soc;
|
||||
}
|
||||
|
||||
$out = '';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user