Skip to content

Commit

Permalink
CIWEMB-33: Fix creating custom fields with logging on
Browse files Browse the repository at this point in the history
Included in CiviCRM 5.41.0
PR: civicrm#21019
  • Loading branch information
ahed-compucorp committed Nov 24, 2022
1 parent 8191e98 commit 064e363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/BAO/CustomField.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public static function writeRecords(array $records) {

$tableName = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $customField->custom_group_id, 'table_name');
$sql[$tableName][] = $fieldSQL;
$addedColumns[$tableName][] = $customField->name;
$addedColumns[$tableName][] = $customField->column_name;
$customFields[$index] = $customField;
}

Expand Down

0 comments on commit 064e363

Please sign in to comment.