From c8d8132bec6e4ea7f2fac196d376d2db64a86c6a Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 21 May 2020 14:25:02 +1200 Subject: [PATCH] Use non-deprecated methd --- api/v3/Generic/Getlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Generic/Getlist.php b/api/v3/Generic/Getlist.php index 2fecc84c4f..f63948e27c 100644 --- a/api/v3/Generic/Getlist.php +++ b/api/v3/Generic/Getlist.php @@ -22,7 +22,7 @@ * @throws \CiviCRM_API3_Exception */ function civicrm_api3_generic_getList($apiRequest) { - $entity = _civicrm_api_get_entity_name_from_camel($apiRequest['entity']); + $entity = CRM_Core_DAO_AllCoreTables::convertEntityNameToLower($apiRequest['entity']); $request = $apiRequest['params']; $meta = civicrm_api3_generic_getfields(['action' => 'get'] + $apiRequest, FALSE); -- 2.25.1