Skip to content

Commit

Permalink
Merge branch 'hotfix' of github.com:NETivism/netiCRM into hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jimyhuang committed Jul 15, 2024
2 parents 9b7502d + df4da7f commit ee163ea
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CRM/Contribute/Form/PCP/PCP.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,7 @@ public function buildQuickForm() {
array('' => ts('- select -')),
CRM_Contribute_PseudoConstant::pcpstatus()
);
$contribution_page = array(ts('- select -'));
$additional_pages = CRM_Contribute_PseudoConstant::contributionPage();
foreach ($additional_pages as $key => $value) {
$contribution_page[$key] = $value;
}
$contribution_page = array(ts('- select -')) + CRM_Contribute_PseudoConstant::contributionPage();
$dao = CRM_Core_DAO::executeQuery("SELECT p.contact_id, c.sort_name, c.external_identifier FROM civicrm_pcp p INNER JOIN civicrm_contact c ON p.contact_id = c.id GROUP BY p.contact_id");
$contacts = array(ts('- select -'));
while($dao->fetch()) {
Expand Down

0 comments on commit ee163ea

Please sign in to comment.