Commit fd1de728 authored by jaapjansma's avatar jaapjansma

update

parent 150a95dd
......@@ -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'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment