diff --git a/CRM/PCP/Form/Campaign.php b/CRM/PCP/Form/Campaign.php index 8e5ea5fd9329..4245978bfdd5 100644 --- a/CRM/PCP/Form/Campaign.php +++ b/CRM/PCP/Form/Campaign.php @@ -270,7 +270,7 @@ public function postProcess() { else { $this->assign('mode', 'Add'); } - $pcpStatus = CRM_Core_OptionGroup::getLabel('pcp_status', $statusId); + $pcpStatus = CRM_Core_PseudoConstant::getLabel('CRM_PCP_DAO_PCP', 'status_id', $statusId); $this->assign('pcpStatus', $pcpStatus); $this->assign('pcpId', $pcp->id);