From 96c3f0b20f0881b286b3d207cdef7a4a5f256736 Mon Sep 17 00:00:00 2001 From: francescbassas Date: Thu, 14 Jul 2016 13:09:14 +0200 Subject: [PATCH] Always build contact subtype field If a contact subtype can be of more contact subtypes then make sense to always show contact subtype on form contact. --- CRM/Contact/Form/Contact.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index 412491bcc8..1c04b66e51 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -312,13 +312,6 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form { $this->assign('contactType', $this->_contactType); $this->assign('contactSubType', $this->_contactSubType); - //build contact subtype form element, CRM-6864 - $buildContactSubType = TRUE; - if ($this->_contactSubType && ($this->_action & CRM_Core_Action::ADD)) { - $buildContactSubType = FALSE; - } - $this->assign('buildContactSubType', $buildContactSubType); - // get the location blocks. $this->_blocks = $this->get('blocks'); if (CRM_Utils_System::isNull($this->_blocks)) { -- 2.25.1