CI
This commit is contained in:
parent
28e1c63750
commit
5ea8fb490b
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ if ($action == 'presend') {
|
|||
$liste['thirdparty'] = $fuser->getFullName($outputlangs)." <".$fuser->email.">";
|
||||
} else {
|
||||
// For example if element is project
|
||||
if (!empty($object->socid) && $object->socid > 0 && !is_object($object->thirdparty) && method_exists($object, 'fetch_thirdparty')) {
|
||||
if (property_exists($object, 'socid') && !empty($object->socid) && $object->socid > 0 && !is_object($object->thirdparty) && method_exists($object, 'fetch_thirdparty')) {
|
||||
$object->fetch_thirdparty();
|
||||
}
|
||||
if (is_object($object->thirdparty)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue