Update fancytokens.php

There was a bug causing recipients of a mass mail to get duplicated event information.
This commit is contained in:
Sarah Gladstone 2014-03-29 07:26:26 -05:00
parent 56a1510262
commit c94f76abca

View File

@ -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;