Add in domain tokens onto the Message Template admin interface
authorSeamus Lee <seamuslee001@gmail.com>
Mon, 25 May 2020 10:43:50 +0000 (20:43 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Mon, 25 May 2020 10:44:45 +0000 (20:44 +1000)
CRM/Admin/Form/MessageTemplates.php

index 11b564a3099319d52b840b66be8033e2bd65a5c5..5f809f25beddd1ce466f51e926583af61a60226f 100644 (file)
@@ -167,6 +167,7 @@ class CRM_Admin_Form_MessageTemplates extends CRM_Core_Form {
 
     //get the tokens.
     $tokens = CRM_Core_SelectValues::contactTokens();
+    $tokens = array_merge($tokens, CRM_Core_SelectValues::domainTokens());
 
     $this->assign('tokens', CRM_Utils_Token::formatTokensForDisplay($tokens));