Skip to content
Snippets Groups Projects
Commit ca1b55f7 authored by Andie Hunt's avatar Andie Hunt
Browse files

make group_id be id (after the opposite was done)

parent 696d6feb
Branches
Tags
No related merge requests found
......@@ -108,6 +108,9 @@ function civicrm_api3_group_get($params) {
$returnProperties['id'] = 1;
$returnProperties = array_keys($returnProperties);
}
if (CRM_Utils_Array::value('group_id', $inputParams)) {
$inputParams['id'] = $inputParams['group_id'];
}
$groupObjects = CRM_Contact_BAO_Group::getGroups($inputParams, $returnProperties, $sort, $offset, $rowCount);
if (empty($groupObjects)) {
return civicrm_api3_create_success(FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment