From 661e9b35ee8fd609cfe02034ab6b4b3909b967f8 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 16 Jun 2015 20:11:37 +1200 Subject: [PATCH] CRM-16699 pass entity_type to basic get --- api/v3/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Activity.php b/api/v3/Activity.php index bbdeca3471..1e6fbf22f4 100644 --- a/api/v3/Activity.php +++ b/api/v3/Activity.php @@ -241,7 +241,7 @@ function civicrm_api3_activity_get($params) { } } else { - $activities = _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, FALSE); + $activities = _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, FALSE, 'Activity'); } $options = _civicrm_api3_get_options_from_params($params, FALSE, 'Activity', 'get'); if ($options['is_count']) { -- 2.25.1