Merge branch 4.6 into master
[civicrm-core.git] / CRM / Member / Form / MembershipConfig.php
index 943a4ab1936f725deadac1474f723a12d1a4e44d..788956b33999110cead1745460e7cedb1da8bf4f 100644 (file)
@@ -53,6 +53,13 @@ class CRM_Member_Form_MembershipConfig extends CRM_Core_Form {
    */
   protected $_BAOName;
 
+  /**
+   * Explicitly declare the entity api name.
+   */
+  public function getDefaultEntity() {
+    return 'MembershipType';
+  }
+
   public function preProcess() {
     $this->_id = $this->get('id');
     $this->_BAOName = $this->get('BAOName');