Skip to content
Snippets Groups Projects
Unverified Commit db6ad2ce authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #21374 from ufundo/event-custom-tokens

Fix event custom field tokens in scheduled reminders
parents 2746b3d7 4bd9197e
Branches
Tags
No related merge requests found
......@@ -141,7 +141,7 @@ LEFT JOIN civicrm_phone phone ON phone.id = lb.phone_id
$row->tokens($entity, $field, $actionSearchResult->$field);
}
elseif ($cfID = \CRM_Core_BAO_CustomField::getKeyID($field)) {
$row->customToken($entity, $cfID, $actionSearchResult->entity_id);
$row->customToken($entity, $cfID, $actionSearchResult->event_id);
}
else {
$row->tokens($entity, $field, '');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment