Skip to content
Snippets Groups Projects
Unverified Commit bf339032 authored by DaveD's avatar DaveD Committed by GitHub
Browse files

Merge pull request #25336 from herbdool/drupal-153

drupal#153 include name when fetching UFGroups so validation can use it
parents 9c5c1a07 9dd72c2d
No related branches found
No related tags found
No related merge requests found
......@@ -1672,7 +1672,7 @@ AND ( entity_id IS NULL OR entity_id <= 0 )
* array of ufgroups for a module
*/
public static function getModuleUFGroup($moduleName = NULL, $count = 0, $skipPermission = TRUE, $op = CRM_Core_Permission::VIEW, $returnFields = NULL) {
$selectFields = ['id', 'title', 'created_id', 'is_active', 'is_reserved', 'group_type', 'description'];
$selectFields = ['id', 'name', 'title', 'created_id', 'is_active', 'is_reserved', 'group_type', 'description'];
if (CRM_Core_BAO_SchemaHandler::checkIfFieldExists('civicrm_uf_group', 'frontend_title')) {
$selectFields[] = 'frontend_title';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment