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

Merge pull request #2490 from colemanw/4.4

CRM-10466 - Ensure token hooks are always called
parents 94e9b0c5 db969160
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