🐛 fix bug: participants not added to mailing list
This commit is contained in:
parent
a94a9baf4c
commit
aa31259b40
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ function mailinglistsync_civicrm_post(string $op, string $objectName, int $objec
|
|||
->addWhere('id', '=', $objectId)
|
||||
->execute()
|
||||
->first()['event_id'];
|
||||
$mailingList = new GroupMailingList($eventId);
|
||||
$mailingList = new EventMailingList($eventId);
|
||||
|
||||
// Check permission to alter event mailing list
|
||||
if ($mailingList->isEnabled() && !CRM_Core_Permission::check('manage_event_mailinglists')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue