X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FGeneric%2FGetlist.php;h=f63948e27c2ce66b5e673aeb281d549dabbb2185;hb=65bc796ca7a9a1c570948269c35eb565fac28087;hp=2fecc84c4fcf6dc820d2135510136bf840acabc7;hpb=0240b5dc2afe12386c94e311733cb5c67846a31e;p=civicrm-core.git 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);