Skip to content
Snippets Groups Projects
Commit 0029275a authored by totten's avatar totten
Browse files

EntityTokens - getFieldValue() does not need to support actionSearchResult

parent afd0de5d
Branches
Tags
No related merge requests found
......@@ -307,11 +307,6 @@ class CRM_Core_EntityTokens extends AbstractTokenSubscriber {
return $row->context[$entityName][$field];
}
$actionSearchResult = $row->context['actionSearchResult'];
$aliasedField = $this->getEntityAlias() . $field;
if (isset($actionSearchResult->{$aliasedField})) {
return $actionSearchResult->{$aliasedField};
}
$entityID = $row->context[$this->getEntityIDField()];
if ($field === 'id') {
return $entityID;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment