projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94073b0
)
CRM-12396
author
Donald A. Lobo
<lobo@civicrm.org>
Mon, 22 Apr 2013 21:55:38 +0000
(14:55 -0700)
committer
Donald A. Lobo
<lobo@civicrm.org>
Mon, 22 Apr 2013 21:55:38 +0000
(14:55 -0700)
----------------------------------------
* CRM-12396: tokens in html not transformed
http://issues.civicrm.org/jira/browse/CRM-12396
CRM/Utils/Token.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Token.php
b/CRM/Utils/Token.php
index 6f170472010c1df451eb84bc1c4ffd00b5220c03..1047ceca4b57921ba9524a72c8363d0c86679e84 100644
(file)
--- a/
CRM/Utils/Token.php
+++ b/
CRM/Utils/Token.php
@@
-155,7
+155,7
@@
class CRM_Utils_Token {
*/
public static function token_match($type, $var, &$str) {
$token = preg_quote('{' . "$type.$var") . '(\|.+?)?' . preg_quote('}');
- return preg_match("/(^|[^\{])
$token/", $str);
+ return preg_match("/(^|[^\{])$token/", $str);
}
/**