Skip to content
Snippets Groups Projects
Commit 4cb8f020 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

fixed event tokens, CRM-13329

----------------------------------------
* CRM-13329: Add 2 more rows to the Badge Layout form (for a total of 6 rows)
  http://issues.civicrm.org/jira/browse/CRM-13329
parent b4a3ab6f
No related branches found
No related tags found
No related merge requests found
......@@ -355,7 +355,7 @@ class CRM_Badge_BAO_Badge {
elseif (key($token) == 'event') {
$element = $token['event'][0];
//FIX ME - we need to standardize event token names
if (!strpos($element, 'event_')) {
if (substr($element, 0, 6) != 'event_') {
$element = 'event_' . $element;
}
}
......
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