Fix warning
This commit is contained in:
parent
5a9e0f7493
commit
a99e72ce93
1 changed files with 1 additions and 1 deletions
|
|
@ -1094,7 +1094,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
|
|||
}
|
||||
|
||||
$object->sendtoid = 0;
|
||||
if ($object->fk_soc > 0) {
|
||||
if (isset($object->fk_soc) && $object->fk_soc > 0) {
|
||||
$object->socid = $object->fk_soc;
|
||||
}
|
||||
} elseif ($action == 'MEMBER_SUBSCRIPTION_DELETE') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue