Merge pull request #10988 from jmcclelland/CRM-21194
[civicrm-core.git] / api / v3 / MembershipBlock.php
index ace89dd2115abfa8192458601ac2d0a5dd422c9b..0b6fc837cc4323e01287cbefbca7f69845b451b2 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -41,7 +41,7 @@
  *   API result array
  */
 function civicrm_api3_membership_block_create($params) {
-  return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+  return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'MembershipBlock');
 }
 
 /**