wasn't sending entity to util function
authorAndrew Hunt <andrew@aghstrategies.com>
Wed, 27 Mar 2013 15:06:11 +0000 (11:06 -0400)
committerAndrew Hunt <andrew@aghstrategies.com>
Wed, 27 Mar 2013 15:06:11 +0000 (11:06 -0400)
api/v3/Group.php

index e5255d421655041abb125eb99563a89ba9177038..2328439294c8d5ed65d12501098b25df8af1c475 100644 (file)
@@ -97,7 +97,7 @@ function _civicrm_api3_group_create_spec(&$params) {
  */
 function civicrm_api3_group_get($params) {
 
-  $options          = _civicrm_api3_get_options_from_params($params, TRUE, 'get');
+  $options          = _civicrm_api3_get_options_from_params($params, TRUE, 'group', 'get');
   $sort             = CRM_Utils_Array::value('sort', $options, NULL);
   $offset           = CRM_Utils_Array::value('offset', $options);
   $rowCount         = CRM_Utils_Array::value('limit', $options);