Around Ln 1250, at the end of the buildCustomDisplay function in CRM/Event/BAO/Event.php, if I make the following changes, I get the profiles showing up correctly in the confirmation email.
Basically, comment out the $val assignment, and change the $val references to $values. Not sure if this is the right fix, but wanted to post info here to see if it helps resolve the issue.
//$val[] = $values;
}
}
if (count( $values ) )
{
$template->assign( $name, $values );
}
if ( count ($groupTitles))
{
$template->assign( $name.'_grouptitle', $groupTitles );
}
//return if we only require array of participant's info.
if ( $isCustomProfile ) {
if ( count($values) )
{
return array( $values, $groupTitles );
}
else {
return null;
Around Ln 1250, at the end of the buildCustomDisplay function in CRM/Event/BAO/Event.php, if I make the following changes, I get the profiles showing up correctly in the confirmation email.
Basically, comment out the $val assignment, and change the $val references to $values. Not sure if this is the right fix, but wanted to post info here to see if it helps resolve the issue.
//$val[] = $values;
{ $template->assign( $name, $values ); }}
}
if (count( $values ) )
if ( count ($groupTitles))
{ $template->assign( $name.'_grouptitle', $groupTitles ); }//return if we only require array of participant's info.
{ return array( $values, $groupTitles ); }if ( $isCustomProfile ) {
if ( count($values) )
else {
return null;