Details
-
Type:
Task
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.4.1
-
Fix Version/s: Unscheduled
-
Component/s: CiviContribute, CiviEvent
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
Description
Event registration forms use a share method to add PCP form fields (CRM_PCP_BAO_PCP::buildPcp). See CRM_Event_Form_Registration_Register::buildQuickForm. However this code is pretty much replicated in CRM_Contribute_Form_Contribution_Main::buildQuickForm. Instead that class should use the shared method. Please review for any adjustments needed to the shared method to handle both forms and make sure the logic for assigning text to pcpSupporterText smarty variable handles both conditions (link_text present / link_text empty).
Attachments
Issue Links
- supplements
-
CRM-13742 PCP message should not always promise ability to create your own PCP
-
- Done/Fixed
-