Skip to content
Snippets Groups Projects
Commit e3470b79 authored by eileen's avatar eileen
Browse files

CRM-12317 fix domain tokens

parent 07638b4c
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