Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.7
-
Fix Version/s: 4.3.0
-
Component/s: CiviContribute
-
Labels:None
Description
Hi,
On our PCP pages, the tell friend link is disabled when they should be enabled due to campaign settings. This appears to be a bug in the PCPInfo file. See below.
In the file: CRM/PCP/Page/PCPInfo.php
if ($pcpBlock->is_tellfriend_enabled || CRM_Utils_Array::value('status_id', $pcpInfo) != $approvedId) {
Should read:
if (!$pcpBlock->is_tellfriend_enabled || CRM_Utils_Array::value('status_id', $pcpInfo) != $approvedId) {
This then should fix the problem.