Skip to content
Snippets Groups Projects
Commit db969160 authored by colemanw's avatar colemanw
Browse files

CRM-10466 - Ensure token hooks are always called

parent 94e9b0c5
No related branches found
No related tags found
No related merge requests found
......@@ -1245,7 +1245,7 @@ LEFT JOIN civicrm_activity_contact src ON (src.activity_id = ac.activity_id AND
// get token details for contacts, call only if tokens are used
$details = array();
if (!empty($allTokens)) {
if (!empty($returnProperties) || !empty($tokens) || !empty($allTokens)) {
list($details) = CRM_Utils_Token::getTokenDetails(
$contactIds,
$returnProperties,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment