Update fancytokens.php
There was a bug causing recipients of a mass mail to get duplicated event information.
This commit is contained in:
parent
56a1510262
commit
c94f76abca
@ -194,7 +194,7 @@ $tokens['communitynews'] = array(
|
||||
// print "<br>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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user