}
}
-
/**
* Check parameters passed in.
*
case 'individual':
civicrm_api3_verify_one_mandatory($params, NULL, [
- 'first_name',
- 'last_name',
- 'email',
- 'display_name',
- ]
- );
+ 'first_name',
+ 'last_name',
+ 'email',
+ 'display_name',
+ ]);
break;
}
return civicrm_api3_create_success($contacts, $params, 'Contact', 'get_by_location', $dao);
}
-
/**
* Get parameters for getlist function.
*