Skip to content

Commit

Permalink
put description back
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Jul 10, 2020
1 parent 2d198bb commit c4baa1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/BAO/UFGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ public static function getWeight($ufGroupId = NULL) {
* 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'];
$selectFields = ['id', 'title', 'created_id', 'is_active', 'is_reserved', 'group_type', 'description'];

if (CRM_Core_BAO_SchemaHandler::checkIfFieldExists('civicrm_uf_group', 'frontend_title')) {
$selectFields[] = 'frontend_title';
Expand Down

0 comments on commit c4baa1d

Please sign in to comment.