Skip to content
Snippets Groups Projects
Commit b73f1b16 authored by lobo's avatar lobo
Browse files

Merge pull request #367 from eileenmcnaughton/4.3

CRM-12317 fix domain tokens
parents 7efee404 e3470b79
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,8 @@ class CRM_Utils_Token {
'phone',
'address',
'email',
'id',
'description',
),
'subscribe' => array( 'group' ),
'unsubscribe' => array( 'group' ),
......@@ -274,7 +276,7 @@ class CRM_Utils_Token {
$addressCache[$cache_key] = $value;
}
}
elseif ($token == 'name' || $token == 'id') {
elseif ($token == 'name' || $token == 'id' || $token == 'description') {
$value = $domain->$token;
}
elseif ($token == 'phone' || $token == 'email') {
......
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