Skip to content

Commit

Permalink
refs #37956, fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jimyhuang committed Dec 5, 2024
1 parent ebf8fdb commit c82e179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Custom/Form/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public function buildQuickForm() {
$current_external_membership_id_field_id = $config->externalMembershipIdFieldId;
if(!empty($current_external_membership_id_field_id) && $current_external_membership_id_field_id != $this->_id){
$sql = "SELECT f.label AS field_label, g.title AS group_title, f.custom_group_id FROM civicrm_custom_field f INNER JOIN civicrm_custom_group g ON f.custom_group_id = g.id WHERE f.id = %1";
$param = array(1 => array($current_external_membership_id_field_id, Integer));
$param = array(1 => array($current_external_membership_id_field_id, 'Integer'));
$dao = CRM_Core_DAO::executeQuery($sql, $param);
if($dao->fetch()){
$this->assign('current_external_membership_id_field_title', $dao->field_label);
Expand Down

0 comments on commit c82e179

Please sign in to comment.