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