$params = $ids = array();
// store the submitted values in an array
$params = $this->exportValues();
+ $params['is_active'] = CRM_Utils_Array::value('is_active', $params, FALSE);
+ $params['is_current_member'] = CRM_Utils_Array::value('is_current_member', $params, FALSE);
+ $params['is_admin'] = CRM_Utils_Array::value('is_admin', $params, FALSE);
+ $params['is_default'] = CRM_Utils_Array::value('is_default', $params, FALSE);
if ($this->_action & CRM_Core_Action::UPDATE) {
$ids['membershipStatus'] = $this->_id;