From d90b63992ee031c9cd50f44dbd495869351fd6b9 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 27 May 2019 19:15:43 -0400 Subject: [PATCH] Remove confusing pass params by ref --- api/v3/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/utils.php b/api/v3/utils.php index d04055a794..f28c07aeed 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -779,7 +779,7 @@ function _civicrm_api3_apply_filters_to_dao($filterField, $filterValue, &$dao) { * @return array * options extracted from params */ -function _civicrm_api3_get_options_from_params(&$params, $queryObject = FALSE, $entity = '', $action = '') { +function _civicrm_api3_get_options_from_params($params, $queryObject = FALSE, $entity = '', $action = '') { $lowercase_entity = _civicrm_api_get_entity_name_from_camel($entity); $is_count = FALSE; $sort = CRM_Utils_Array::value('sort', $params, 0); -- 2.25.1