CRM-17892 fix
authordeb.monish <monish.deb@webaccessglobal.com>
Fri, 29 Jan 2016 07:51:13 +0000 (13:21 +0530)
committerdeb.monish <monish.deb@webaccessglobal.com>
Fri, 29 Jan 2016 07:51:13 +0000 (13:21 +0530)
CRM/Member/Form/Membership.php

index 059d6cb70c11f0e4a11a6c0086df0a03dd30b3cd..0ddedb633a5e3b78f6f3ee51b0c791da4cba772a 100644 (file)
@@ -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];
       }
     }