Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.7
-
Fix Version/s: 1.8
-
Component/s: CiviContribute, CiviEvent
-
Labels:None
Description
The contribution thankyou email (templates/CRM/Contribute/Form/Contribution/ReceiptMessage.tpl) includes sections for $customPre profile, and $customPost profile. Like:
{foreach from=$customPre item=value key=name}{$name} : {$value}
{/foreach}There's three problems:
1) These fields are arrays hence you get something like "phone-Primary-Phone : Array"
2) $name is the internal name and not the display name
3) the arrays contain only information about the field, not the actual field value