From: deb.monish Date: Fri, 29 Jan 2016 07:51:13 +0000 (+0530) Subject: CRM-17892 fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0647060937753dc9a6969290932a9a548b573fa1;p=civicrm-core.git CRM-17892 fix --- diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 059d6cb70c..0ddedb633a 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -243,7 +243,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form { if (!$this->_memType) { $params = CRM_Utils_Request::exportValues(); - if (isset($params['membership_type_id'][1])) { + if (!empty($params['membership_type_id'][1])) { $this->_memType = $params['membership_type_id'][1]; } }