From 0647060937753dc9a6969290932a9a548b573fa1 Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Fri, 29 Jan 2016 13:21:13 +0530 Subject: [PATCH] CRM-17892 fix --- CRM/Member/Form/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } } -- 2.25.1