Update interface_50_modAgenda_ActionsAuto.class.php

This commit is contained in:
Laurent Destailleur 2022-09-23 17:19:44 +02:00 committed by GitHub
parent b0d2aa6d9b
commit 59d610887f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -731,7 +731,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
$object->actionmsg .= "\n".$langs->transnoentities("Period").': '.dol_print_date($object->dateh, 'day').' - '.dol_print_date($object->datef, 'day');
$object->sendtoid = 0;
if ( isset($object->fk_soc) && $object->fk_soc > 0) {
if (isset($object->fk_soc) && $object->fk_soc > 0) {
$object->socid = $object->fk_soc;
}
} elseif ($action == 'MEMBER_SUBSCRIPTION_MODIFY') {