Fix more entities to support custom fields (via api)
[civicrm-core.git] / api / v3 / EntityBatch.php
index 4418bce80c69733cee9057ccf62994536af44131..7dae97a0e3710bcc27b6dcc7f13dd010ce16f34c 100644 (file)
@@ -66,7 +66,7 @@ function _civicrm_api3_entity_batch_create_spec(&$params) {
  * @return array
  */
 function civicrm_api3_entity_batch_create($params) {
-  return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+  return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'EntityBatch');
 }
 
 /**