Merge pull request #12114 from jitendrapurohit/membership-2
[civicrm-core.git] / api / v3 / MembershipType.php
index a8b29405c522e96e776998e287cddd31fe2768d7..5011383c689781edb7e60be0b059198d37af4732 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
+ | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
@@ -47,7 +47,7 @@ function civicrm_api3_membership_type_create($params) {
       $params[$field] = implode(CRM_Core_DAO::VALUE_SEPARATOR, $params[$field]);
     }
   }
-  return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'Membership_type');
+  return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'MembershipType');
 }
 
 /**