From: francescbassas Date: Thu, 14 Jul 2016 11:09:14 +0000 (+0200) Subject: Always build contact subtype field X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=96c3f0b20f0881b286b3d207cdef7a4a5f256736;p=civicrm-core.git 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. --- 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)) {