Skip to content

Commit

Permalink
Merge pull request #10727 from JMAConsulting/CRM-20947
Browse files Browse the repository at this point in the history
CRM-20947, fixed notice error deprecated CRM_Core_OptionGroup::getLabel
  • Loading branch information
eileenmcnaughton authored Jul 23, 2017
2 parents 5223eb2 + 6c0811b commit 59a0b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/PCP/Form/Campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 59a0b75

Please sign in to comment.