From c94f76abcadface9f13859d005515075179f313f Mon Sep 17 00:00:00 2001 From: Sarah Gladstone Date: Sat, 29 Mar 2014 07:26:26 -0500 Subject: [PATCH] Update fancytokens.php There was a bug causing recipients of a mass mail to get duplicated event information. --- fancytokens.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fancytokens.php b/fancytokens.php index aded98d..dd464a0 100644 --- a/fancytokens.php +++ b/fancytokens.php @@ -194,7 +194,7 @@ $tokens['communitynews'] = array( // print "
contacts: "; // print_r($contactIDs); foreach ( $contactIDs as $cid ) { - + $tmp_event_html = ""; $dao =& CRM_Core_DAO::executeQuery( $sql, CRM_Core_DAO::$_nullArray ) ; while($dao->fetch()){ $eid = $dao->id; @@ -349,4 +349,4 @@ function fancytokens_civicrm_caseTypes(&$caseTypes) { */ function fancytokens_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) { _fancytokens_civix_civicrm_alterSettingsFolders($metaDataFolders); -} \ No newline at end of file +}