mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix warning
This commit is contained in:
parent
b07a5b4775
commit
2a3372b3dc
|
|
@ -1093,7 +1093,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 New Issue
Block a user