Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed May 17, 2024
1 parent 5a9e0f7 commit a99e72c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ public function runTrigger($action, $object, User $user, Translate $langs, Conf
}

$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') {
Expand Down

0 comments on commit a99e72c

Please sign in to comment.