diff --git a/api/v3/FormProcessorInstance/List.php b/api/v3/FormProcessorInstance/List.php index 3aba04817b929ffeb70ecfdee83a51b0727988c2..4f36f2de9153a068a4d68e1ea04632040fe0209f 100644 --- a/api/v3/FormProcessorInstance/List.php +++ b/api/v3/FormProcessorInstance/List.php @@ -11,9 +11,8 @@ */ function civicrm_api3_form_processor_instance_list($params) { $returnValues = array(); - $form_processors = \CRM_FormProcessor_BAO_FormProcessorInstance::getValues(array( - 'is_active' => 1, - )); + $params['is_active'] = 1; + $form_processors = \CRM_FormProcessor_BAO_FormProcessorInstance::getValues($params); foreach($form_processors as $form_processor) { $returnValues[$form_processor['name']] = array( 'name' => $form_processor['name'],