From 14c8cdaa39005e0752e8beca670faa470b2147ce Mon Sep 17 00:00:00 2001 From: CiviCRM Date: Tue, 23 Jul 2013 11:00:34 +0530 Subject: [PATCH] fixed for CRM-12995 ---------------------------------------- * CRM-12995: http://issues.civicrm.org/jira/browse/CRM-12995 --- CRM/Utils/Token.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index ea37ae9764..d256a349e9 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -614,7 +614,7 @@ class CRM_Utils_Token { $str = preg_replace_callback( self::tokenRegex($key), function ($matches) use(&$contact, $key, $html, $escapeSmarty) { - return CRM_Utils_Token::getHookTokenReplacement($matches[1], $contact, $key, $html, $escapeSmarty); + return CRM_Utils_Token::getContactTokenReplacement($matches[1], $contact, $key, $html, $escapeSmarty); }, $str ); -- 2.25.1